-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
56 lines (56 loc) · 1.3 KB
/
.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
language: node_js
sudo: required # See http://docs.travis-ci.com/user/trusty-ci-environment/
dist: trusty
node_js:
- "lts/*"
python:
- "2.7"
notifications:
email:
recipients:
on_success: change
on_failure: change
webhooks:
- http://savage.nonblocking.io:8080/savage/travis
before_install:
- export CHROME_BIN=google-chrome-stable
- export DISPLAY=:99.0
- unset _JAVA_OPTIONS # JVM heap sizes break closure compiler. #11203.
- sh -e /etc/init.d/xvfb start
before_script:
- pip install --user protobuf
script: node build-system/pr-check.js
after_script:
- build-system/sauce_connect/stop_sauce_connect.sh
branches:
only:
- master
- release
- canary
- /^amp-release-.*$/
addons:
chrome: stable
hosts:
- ads.localhost
- iframe.localhost
# Requested by some tests because they need a valid font host,
# but should not resolve in tests.
- fonts.googleapis.com
apt:
packages:
- protobuf-compiler
- python-protobuf
matrix:
include:
- env: BUILD_SHARD="unit_tests"
- env: BUILD_SHARD="integration_tests"
cache:
yarn: true
directories:
- node_modules
- validator/node_modules
- validator/nodejs/node_modules
- validator/webui/node_modules
pip: true
bundler: true