chromium-dashboard/.travis.yml

31 строка
623 B
YAML

language: node_js
node_js:
- "8"
python:
- "2.7"
dist: trusty
sudo: false
git:
depth: 1
env:
global:
- CLOUDSDK_CORE_DISABLE_PROMPTS=1
- CLOUDSDK_PYTHON_SITEPACKAGES=1
- GAE_APP_ID=cr-status
cache:
yarn: true
pip: true
directories:
- node_modules
install:
- yarn global add bower gulp
- yarn
script:
- npm run lint
- npm run build
after_success:
- "./travis/deploy_pr_gae.sh"
- export LH_MIN_PASS_SCORE=96
- export LH_TEST_URL=https://lighthouse-ci-staging-dot-cr-status.appspot.com/features
- node node_modules/lighthouse-ci/runlighthouse.js --score=$LH_MIN_PASS_SCORE $LH_TEST_URL