A collection of scripts we use on Travis.
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"
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"