-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
50 lines (41 loc) · 874 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
sudo: required
dist: bionic
language: node_js
node_js:
- 14
services:
- docker
- xvfb
before_install:
- dpkg --compare-versions `npm -v` ge 7.10 || npm i -g npm@^7.10
- npm --version
- |
if [[ $TRAVIS_BRANCH =~ ^(feature\/.*)$ ]]; then
export E2E_TAG="dev"
elif [[ $TRAVIS_BRANCH =~ ^(dev|testing|demo|training|staging|rrt\/.*)$ ]]; then
export E2E_TAG="${TRAVIS_BRANCH//\//_}"
else
export E2E_TAG="latest"
fi
echo "E2E_TAG = $E2E_TAG"
install:
- npm install
addons:
chrome: stable
env:
global:
- API_URL=http://localhost:5000/v1.0
- BASE_HREF=/
- DEPLOY_URL=/
- HOME_ROUTE=home
- IRB_URL=http://localhost:5001/
- PORT0=4200
- PRODUCTION=false
script:
- npm run ci
notifications:
email:
on_success: change
on_failure: always
recipients:
- dan@sartography.com