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
|
|
|
|
matrix:
|
2016-06-13 20:01:34 -04:00
|
|
|
- SCRIPT="lint"
|
2016-05-22 09:30:15 -04:00
|
|
|
- SCRIPT="run-e2e-tests --fast"
|
|
|
|
before_install:
|
|
|
|
- npm install -g gulp --no-optional
|
|
|
|
before_script:
|
|
|
|
- sh -e /etc/init.d/xvfb start
|
|
|
|
install:
|
|
|
|
- npm install --no-optional
|
|
|
|
- npm install --prefix public/docs/_examples
|
2016-05-30 14:05:09 -04:00
|
|
|
- npm install --prefix public/docs/_examples/_protractor
|
|
|
|
- npm run webdriver:update --prefix public/docs/_examples/_protractor
|
2016-05-22 09:30:15 -04:00
|
|
|
- gulp add-example-boilerplate
|
|
|
|
script:
|
2016-06-13 20:01:34 -04:00
|
|
|
- gulp $SCRIPT
|