2016-05-22 09:30:15 -04:00
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
language: node_js
|
|
|
|
node_js:
|
|
|
|
- "5"
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
env:
|
|
|
|
global:
|
2016-06-19 05:09:07 -04:00
|
|
|
- DBUS_SESSION_BUS_ADDRESS=/dev/null
|
2016-05-22 09:30:15 -04:00
|
|
|
- DISPLAY=:99.0
|
|
|
|
- CHROME_BIN=chromium-browser
|
2016-08-19 18:51:22 -04:00
|
|
|
- LATEST_RELEASE=2.0.0-rc.5
|
2016-07-18 18:59:42 -04:00
|
|
|
- TASK_FLAGS="--dgeni-log=warn"
|
2016-05-22 09:30:15 -04:00
|
|
|
matrix:
|
2016-07-11 10:54:29 -04:00
|
|
|
- TASK=lint
|
|
|
|
- TASK="run-e2e-tests --fast" SCRIPT=examples-install.sh
|
|
|
|
- TASK="run-e2e-tests --fast" SCRIPT=examples-install-preview.sh
|
2016-08-23 13:16:47 -04:00
|
|
|
- TASK=build-compile SCRIPT=deploy-install.sh WAIT="travis_wait 50" POST_SCRIPT="check-docs.sh -v"
|
|
|
|
- TASK=build-compile SCRIPT=deploy-install-preview.sh WAIT="travis_wait 50" POST_SCRIPT="check-docs.sh -v"
|
2016-06-29 11:55:14 -04:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
allow_failures:
|
2016-07-18 18:59:42 -04:00
|
|
|
- env: TASK="run-e2e-tests --fast" SCRIPT=examples-install-preview.sh
|
2016-08-23 13:16:47 -04:00
|
|
|
- env: TASK=build-compile SCRIPT=deploy-install-preview.sh WAIT="travis_wait 50" POST_SCRIPT="check-docs.sh -v"
|
2016-05-22 09:30:15 -04:00
|
|
|
before_install:
|
2016-07-18 18:59:42 -04:00
|
|
|
- source ./scripts/env-set.sh
|
|
|
|
- ./scripts/before-install.sh
|
2016-07-11 10:54:29 -04:00
|
|
|
install:
|
|
|
|
- npm install --no-optional
|
2016-07-18 18:59:42 -04:00
|
|
|
- if [[ -n "$SCRIPT" ]]; then echo "EXTRA INSTALL $SCRIPT"; ./scripts/$SCRIPT; fi
|
2016-05-22 09:30:15 -04:00
|
|
|
before_script:
|
|
|
|
- sh -e /etc/init.d/xvfb start
|
|
|
|
script:
|
2016-07-18 18:59:42 -04:00
|
|
|
- $WAIT gulp $TASK $TASK_FLAGS
|
2016-08-23 13:16:47 -04:00
|
|
|
- if [[ -n "$POST_SCRIPT" ]]; then ./scripts/$POST_SCRIPT; fi
|