lighthouse/.travis.yml

27 строки
618 B
YAML
Исходник Обычный вид История

2016-03-16 03:57:46 +03:00
language: node_js
node_js:
2016-04-04 18:24:48 +03:00
- "5.0"
- "node"
sudo: required
dist: trusty
2016-03-20 02:15:57 +03:00
cache:
directories:
- node_modules
2016-03-26 04:49:27 +03:00
- chrome-linux
- extension/node_modules
2016-03-16 05:16:50 +03:00
before_script:
- npm --prefix ./extension install ./extension
2016-03-16 05:16:50 +03:00
- export DISPLAY=:99.0
2016-04-04 18:24:48 +03:00
- export LIGHTHOUSE_CHROMIUM_PATH="$(pwd)/chrome-linux/chrome"
2016-03-16 05:16:50 +03:00
- sh -e /etc/init.d/xvfb start
2016-04-24 04:42:06 +03:00
- ./scripts/download-chrome.sh
- start-stop-daemon --start --background --exec $(pwd)/scripts/launch-chrome.sh
2016-03-16 05:16:50 +03:00
- sleep 5
script:
2016-04-09 16:27:44 +03:00
- npm run lint
- npm run unit
- npm run closure
- npm run smoke
- (cd extension && gulp build)
- npm run coveralls