2016-03-16 03:57:46 +03:00
|
|
|
language: node_js
|
2016-07-12 03:35:56 +03:00
|
|
|
matrix:
|
|
|
|
include:
|
2017-01-25 02:39:47 +03:00
|
|
|
- node_js: "6.9.1"
|
2016-10-26 21:10:30 +03:00
|
|
|
- node_js: "7"
|
2017-05-31 03:48:52 +03:00
|
|
|
- node_js: "8"
|
2016-04-29 04:46:12 +03:00
|
|
|
dist: trusty
|
2017-04-26 02:47:51 +03:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- ARTIFACTS_AWS_REGION=us-west-2
|
|
|
|
- ARTIFACTS_S3_BUCKET=lighthouse-screenshots-debugging
|
|
|
|
- secure: WNrQ6K8eS8/lVml6qz031oV3HQM0M3WB1+1K9DTbjlVSuYgzu3tLGCRWn67tF8+3AQWIRDXyHByONrGinWTm1teZA9SaTzuVhMrO7CHdsWTWsypQ0UqJ6H4mH/wJwJv/kW6OtQSQJGUTF8kEz33nDQVW+iFWxJx3Ow4egya6cb9D89TnUJ0FBLxYYS2DjNTbIMVBMBqSGyrd/Ww5CoYzKR96Y9jby5IId9TFFJqk3qFfXVh3Diy5TX8hUvqUpD48cfQpxE8cLZ/uOXtRsHjwMvekCSG7fNMlbQ9nJ4MmnIwhdvFrKbx1xS7g5FdRfyN+q3QcDxskytWYmtzREoRjU3N6ao8IGsXG88yXpK1bdGQ2BdNAg4IltQDGMKMzVC37sAFmXvI9S00TmWQOoAu5D4KuW9Gchc+syCpZ+umqPGePgfGryWBt0slOkFi3mixavL0kAr1kAbWbeGFBLEeX80NFFm+F2qOMuwPSsmVJ8bsgsEp0DkceyggAqb9VDyTq9ci8l/pTGTQfqbEBcXgS19BY2zDldvncfmHFisd13zHOYkqn+pi+Ta87xlskL93FOxQFn14avJo/5iNa2HmEh8vq/jBbocVr+Tt+T+OMzN/RFGBfzqU4T2K3rj9hG1cCgZFuVm+sdSuulzeUjV7y3rDAT3eAUwBnERCzwDhCpT0=
|
|
|
|
- secure: UdWqkZHhU2PDMKleiL386FHI6S+N0PETDd5RWPBNM/YvMREWHyWeb3vZwsMqSVri1DNk8SqI2d0PC4/jLGKchRBqlO4+smuw9f09ihn+mGI67GFsyJu6UQ5/nz5eiUKx2ZRsuB8t8BbCGiOWh+UQUuHTEgAi8ndL+ml+Vy1XRpqbT49rOTKcr+G/4J+TyEjq+wRrpZMZmhYeX0EZAcofL8KYvgbV5jbkOnQV2oI0cyCO1FQxnIz9yopvwrMlKz/1jmKiRyJOj0YaKSJ5lWs0G2RFsWmXrEAgDAlOqoJ2QCTCM5M1Fnh+0oWPholN7X4Nj/USqxRlcGaUwDLh5RhcDlrFv+wC9iBIDIay3K1/IKndikkO8OP+tCYDlx2VQRX50LPUTEQzrXEbD6pFUl1ezLQCZPejX7R/HI5rOr8WcmZzKXtl1MP0h8YX1e9HX7gXBUB0RGwnTV/P+Q6WEcxN32T/xdwbYi/YQsXfzeL7fzF5PI5LnaAc141lhcUiILs9HwnEyB7gWWLlut+GNKfse6DrNkKc3I12TVVMbHWuP2waGuc1EMcMCyC/9lb17sk5q1gbIbAsSWki9mHtrJsk0KtriKY/uOFiK5W6Dno1ITbMqbTvIelMKgQPkjYmvqyLDhADRXQz9kxlSmxcdTG5dB9lOm6ubFdRmWEPhPumq4I=
|
2016-03-20 02:15:57 +03:00
|
|
|
cache:
|
2017-04-26 21:22:08 +03:00
|
|
|
yarn: true
|
2017-04-26 22:47:28 +03:00
|
|
|
bundler: true
|
2017-04-26 02:47:51 +03:00
|
|
|
directories:
|
|
|
|
- node_modules
|
|
|
|
- chrome-linux
|
|
|
|
- lighthouse-extension/node_modules
|
|
|
|
- lighthouse-viewer/node_modules
|
2016-11-22 02:38:42 +03:00
|
|
|
install:
|
2017-06-05 21:23:58 +03:00
|
|
|
- yarn
|
2017-04-26 22:41:01 +03:00
|
|
|
- yarn install-all
|
2016-03-16 05:16:50 +03:00
|
|
|
before_script:
|
2017-04-26 02:47:51 +03:00
|
|
|
- gem install travis-artifacts
|
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-06-14 14:10:19 +03:00
|
|
|
- ./lighthouse-core/scripts/download-chrome.sh
|
2017-04-26 22:41:01 +03:00
|
|
|
- yarn build-all
|
2016-04-05 12:42:49 +03:00
|
|
|
script:
|
2017-05-14 01:40:33 +03:00
|
|
|
- yarn test-cli-formatting
|
|
|
|
- yarn test-launcher-formatting
|
2017-04-26 22:41:01 +03:00
|
|
|
- yarn lint
|
|
|
|
- yarn unit
|
|
|
|
- yarn closure
|
|
|
|
- yarn smoke
|
|
|
|
- yarn smokehouse
|
2017-05-03 03:39:06 +03:00
|
|
|
- yarn compile-devtools
|
2017-06-13 22:11:19 +03:00
|
|
|
- yarn plots-smoke
|
2016-10-03 01:25:27 +03:00
|
|
|
after_success:
|
2017-04-26 22:41:01 +03:00
|
|
|
- yarn coveralls
|
2017-04-26 02:47:51 +03:00
|
|
|
after_failure:
|
|
|
|
- grep 'No screenshots' perf.json && travis-artifacts upload --path perf-0.trace.json
|