forked from google/WebFundamentals
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
36 lines (36 loc) · 723 Bytes
/
.travis.yml
File metadata and controls
36 lines (36 loc) · 723 Bytes
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
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
- ./tools/travis/flush-memcache.sh
- node ./tools/travis/removeStagedPRs.js
branches:
only:
- master
notifications:
email:
recipients:
- petele@google.com
on_success: never
on_failure: always