forked from RedHatInsights/policies-ui-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (32 loc) · 852 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
language: node_js
dist: xenial
os: linux
node_js:
- '14'
cache:
yarn: true
env:
global:
- REPO="[email protected]:RedHatInsights/policies-ui-frontend-build"
- REPO_DIR="policies-ui-frontend-build"
- BRANCH=${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}
- NODE_OPTIONS="--max-old-space-size=4096 --max_old_space_size=4096"
jobs:
- ACTION=ci:schema
- ACTION=lint
- ACTION=ci:test
- ACTION=smoketest
- ACTION=build
- ACTION=ci:pinned-deps
script: yarn $ACTION
jobs:
include:
- stage: Build & Deploy
if: type = push
script: yarn build:prod && curl -sSL https://raw.githubusercontent.com/RedHatInsights/insights-frontend-builder-common/master/src/bootstrap.sh | bash -s
notifications:
irc:
channels:
- chat.freenode.net#policies-ui-travis
on_success: change
on_failure: change