Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1 KB

File metadata and controls

21 lines (14 loc) · 1 KB

travis-utils

A collection of scripts we use on Travis.

chrome.sh

Installs Google Chrome, including a custom build of chrome-sandbox binary that works in OpenVZ containers. It defaults to the current stable release, which you can override with the CHROME_VERSION environment variable. Use it in your before_script section:

before_script:
  - "curl -sSL https://github.com/goodeggs/travis-utils/raw/master/chrome.sh | sh"

chromedriver.sh

Installs and starts a blessed version of Chromedriver. You may override our version with the CHROMEDRIVER_VERSION environment variable. Also exports the correct DISPLAY environment variable and starts xvfb for you. Use it in your before_script section:

before_script:
  - "curl -sSL https://github.com/goodeggs/travis-utils/raw/master/chromedriver.sh | sh"