2020-01-14 21:52:39 +00:00
|
|
|
sudo: required
|
2020-04-28 14:29:37 +00:00
|
|
|
|
|
|
|
dist: bionic
|
2020-01-17 21:07:26 +00:00
|
|
|
|
2020-01-14 21:52:39 +00:00
|
|
|
language: node_js
|
2020-02-12 15:34:34 +00:00
|
|
|
|
2020-01-14 21:52:39 +00:00
|
|
|
node_js:
|
|
|
|
- 12
|
2020-02-12 15:34:34 +00:00
|
|
|
|
2020-04-28 14:29:37 +00:00
|
|
|
python:
|
|
|
|
- "3.7"
|
|
|
|
|
2020-04-03 14:20:08 +00:00
|
|
|
services:
|
|
|
|
- docker
|
2020-04-28 14:29:37 +00:00
|
|
|
- xvfb
|
2020-02-12 15:34:34 +00:00
|
|
|
|
2020-05-11 17:46:26 +00:00
|
|
|
before_install:
|
|
|
|
- |
|
|
|
|
branches=('dev' 'testing' 'demo' 'training' 'staging')
|
|
|
|
if [[ " ${arr[@]} " =~ " ${TRAVIS_BRANCH} " ]]; then
|
|
|
|
export E2E_TAG="$TRAVIS_BRANCH"
|
|
|
|
else
|
|
|
|
export E2E_TAG="latest"
|
|
|
|
fi
|
|
|
|
|
2020-01-14 21:52:39 +00:00
|
|
|
install:
|
|
|
|
- npm install
|
2020-02-12 15:34:34 +00:00
|
|
|
|
2020-02-14 19:51:02 +00:00
|
|
|
addons:
|
|
|
|
chrome: stable
|
|
|
|
|
2020-01-14 21:52:39 +00:00
|
|
|
script:
|
|
|
|
- npm run ci
|
2020-02-12 15:34:34 +00:00
|
|
|
|
2020-02-07 03:12:33 +00:00
|
|
|
deploy:
|
|
|
|
provider: script
|
2020-04-03 14:15:08 +00:00
|
|
|
script: bash ./deploy.sh
|
2020-04-03 19:37:46 +00:00
|
|
|
skip_cleanup: true
|
2020-02-07 03:12:33 +00:00
|
|
|
on:
|
2020-05-11 16:06:19 +00:00
|
|
|
all_branches: true
|
2020-05-14 03:02:48 +00:00
|
|
|
condition: $TRAVIS_BRANCH =~ ^(dev|testing|demo|training|staging|master|rrt\/.*)$
|
2020-04-03 14:15:08 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
|
|
|
recipients:
|
|
|
|
- dan@sartography.com
|