lighthouse/.travis.yml

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

2016-03-16 03:57:46 +03:00
language: node_js
matrix:
include:
- node_js: "4.3.2"
- node_js: "5.0"
- node_js: "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
2016-07-26 22:19:28 +03:00
- lighthouse-extension/node_modules
2016-03-16 05:16:50 +03:00
before_script:
2016-10-19 15:50:52 +03:00
- npm i -g typescript@2.0
2016-07-26 22:19:28 +03:00
- npm --prefix ./lighthouse-extension install ./lighthouse-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
- ./lighthouse-core/scripts/download-chrome.sh
2016-10-19 15:50:52 +03:00
- cd lighthouse-cli && tsc && cd ..
script:
2016-07-26 00:07:53 +03:00
- if [[ $(node -v) =~ ^v4.* ]]; then export __node_harmony=--harmony; fi
2016-04-09 16:27:44 +03:00
- npm run lint
2016-07-26 00:07:53 +03:00
- npm run unit
2016-04-09 16:27:44 +03:00
- npm run closure
- npm run smoke
2016-10-25 22:00:36 +03:00
- npm run smokehouse
- cd lighthouse-extension
- gulp build
- cd ..
after_success:
- npm run coveralls