forked from ampproject/amphtml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (62 loc) · 2.15 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
57
58
59
60
61
62
language: node_js
sudo: required # See http://docs.travis-ci.com/user/trusty-ci-environment/
dist: trusty
node_js:
- "lts/*"
python:
- "2.7"
notifications:
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
- gem install percy-capybara capybara selenium-webdriver chromedriver-helper rspec-retry
- chromedriver-update 2.35
- chromedriver -v
- ./node_modules/.bin/greenkeeper-lockfile-update
script: node build-system/pr-check.js
after_script: ./node_modules/.bin/greenkeeper-lockfile-upload
branches:
only:
- master
- release
- canary
- /^amp-release-.*$/
- /^greenkeeper/.*$/
env:
global:
- SAUCE_USERNAME="amphtml"
- NPM_CONFIG_PROGRESS="false"
addons:
chrome: stable
sauce_connect:
username: "amphtml"
jwt:
# SAUCE_ACCESS_KEY for sauce_connect
- secure: "Wze0F0vGL0UcxryOx1n/vcuD5LIMGyR+69Nc6IWLoRvZBbbIpFwVFhDE6rE9ranIXiA2Hc684N4sV8ASfNDF8RRSB+jyLov159qwgji2rBxIfQ/4kuDV2vYoAJvYMz8m42kwx5FV2VV9awqMMt8mwU3wYIrKIaVCxB34uV86KIlDlbrHxt17Bm5EIiUmwi9r1AAnW/63vVRUN264D77oB4j9UQ759PfD6BDwEt54O87KurNIaLseNCr1IvzfL8veEsZ3uTbLC1GtgHfR4IGgkS2YyN2QIk06VZWeRDEOalS3RcY0nDkbCmBywxIGObnrpEMzOpjBiOb2fxLoLvvpjlla5W84zJGfWE6q4T9IvkyHuDJE+sft5B+arjMIeA6PIeUhKdV27+6qqDEf7fILZ/U/Ekn9ds4zSV8hekAZPUyyPncOeyWppCIJ8sOeCrsebkRjH1BoX/d+FE+nP0bN/XkBpIi/nManx5FyS/kqjQWGKmvsFQfEWlSUaZi7XtEQEjvBizRkzvpJanSDaoiTDS2Keulmwii3XRId51FuGtnfDZFeggLaMTKGfBX9DlPkccwYAZe6vPNfYk1pNgEj6AtnifEhYVEO+aAuWhEnJ86od+1wDOL/h+a2XY6h8/gFBywsD95p7sXPfdVDCKgwagiBo+Hw5MNjztVF7lszg1A="
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
- .gem
pip: true
bundler: true