forked from google/WebFundamentals
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (36 loc) · 699 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
language: node_js
node_js: '8'
dist: trusty
sudo: false
git:
depth: 1
env:
global:
- CLOUDSDK_CORE_DISABLE_PROMPTS=1
- CLOUDSDK_PYTHON_SITEPACKAGES=1
cache:
directories:
- node_modules
- "$HOME/google-cloud-sdk/"
install:
- travis_wait ./tools/travis/install-gc-sdk.sh
- npm install
- npm run clean
script:
- npm run build
- gulp puppeteer:build
- npm run test
- node ./tools/travis/addCommitComment.js
after_success:
- ./tools/travis/deploy-master.sh
- ./tools/travis/deploy-pr.sh
- node ./tools/travis/removeStagedPRs.js
branches:
only:
- master
notifications:
email:
recipients:
on_success: never
on_failure: always