cr-connect-bpmn/.travis.yml

49 lines
789 B
YAML
Raw Normal View History

sudo: required
2020-04-28 14:29:37 +00:00
dist: bionic
2020-01-17 21:07:26 +00:00
language: node_js
2020-02-12 15:34:34 +00:00
node_js:
- 12
2020-02-12 15:34:34 +00:00
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
before_install:
- |
if [[ $TRAVIS_BRANCH =~ ^(feature\/.*)$ ]]; then
export E2E_TAG="dev"
elif [[ $TRAVIS_BRANCH =~ ^(dev|testing|demo|training|staging|rrt\/.*)$ ]]; then
2020-05-18 17:58:38 +00:00
export E2E_TAG="${TRAVIS_BRANCH//\//_}"
else
export E2E_TAG="latest"
fi
2020-05-18 17:58:38 +00:00
echo "E2E_TAG = $E2E_TAG"
install:
- npm install
2020-02-12 15:34:34 +00:00
addons:
chrome: stable
2020-05-22 19:42:42 +00:00
env:
2020-05-22 19:50:36 +00:00
global:
- API_URL=http://localhost:5000/v1.0
- BASE_HREF=/
- DEPLOY_URL=/
- HOME_ROUTE=home
2020-05-25 19:26:46 +00:00
- IRB_URL=http://localhost:5001/
- PORT0=4200
- PRODUCTION=false
script:
- npm run ci
2020-02-12 15:34:34 +00:00
notifications:
email:
on_success: change
on_failure: always
recipients:
- dan@sartography.com