angular-cn/.travis.yml

30 lines
775 B
YAML
Raw Normal View History

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
- DISPLAY=:99.0
- CHROME_BIN=chromium-browser
matrix:
2016-06-29 11:55:14 -04:00
- SCRIPT=lint
- SCRIPT="run-e2e-tests --fast"
2016-06-29 11:55:14 -04:00
- SCRIPT="run-e2e-tests --fast" PREVIEW=true
matrix:
fast_finish: true
allow_failures:
- env: "SCRIPT=\"run-e2e-tests --fast\" PREVIEW=true"
before_install:
- npm install -g gulp --no-optional
before_script:
- sh -e /etc/init.d/xvfb start
install:
- ./script/install.sh
2016-06-29 11:55:14 -04:00
- if [[ $PREVIEW == true ]]; then npm install --prefix public/docs/_examples angular/{core,common,compiler,platform-browser,platform-browser-dynamic,http,forms,router-deprecated,router,upgrade}-builds; fi
script:
2016-06-13 20:01:34 -04:00
- gulp $SCRIPT