Skip to content

Commit

Permalink
Use Docker containers in Travis (ampproject#9666)
Browse files Browse the repository at this point in the history
  • Loading branch information
taymonbeal authored and rsimha committed Jun 2, 2017
1 parent 356d5b9 commit 98ecb9b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
@@ -1,6 +1,6 @@
language: node_js
sudo: required # See http://docs.travis-ci.com/user/trusty-ci-environment/
dist: trusty
sudo: false # See http://docs.travis-ci.com/user/trusty-ci-environment/
node_js:
- "4"
python:
Expand All @@ -21,11 +21,12 @@ addons:
- protobuf-compiler
- python-protobuf
before_install:
- export CHROME_BIN=google-chrome
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- sudo dpkg -i google-chrome*.deb
- mkdir "${TRAVIS_BUILD_DIR}/chrome"
- dpkg -x google-chrome-stable_current_amd64.deb "${TRAVIS_BUILD_DIR}/chrome"
- export CHROME_BIN="${TRAVIS_BUILD_DIR}/chrome/opt/google/chrome/google-chrome"
before_script:
- pip install --user protobuf
- gem install percy-cli
Expand Down

0 comments on commit 98ecb9b

Please sign in to comment.