Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@EvanHerman
Forked from Arjeno/circle.yml
Created August 24, 2017 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EvanHerman/c7cf79aafbfe273089326744bb5f5c8f to your computer and use it in GitHub Desktop.
Save EvanHerman/c7cf79aafbfe273089326744bb5f5c8f to your computer and use it in GitHub Desktop.
Always use the latest version of Chrome on CircleCI
# This makes sure Chrome is always up to date in your test suite
# On average this adds about 10 seconds to your build suite
# Be sure to use Ubuntu 14.04 (Trusty) in the CircleCI's OS setting (Settings > Build Environment)
dependencies:
pre:
- curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- sudo dpkg -i google-chrome.deb
- sudo sed -i 's|HERE/chrome\"|HERE/chrome\" --disable-setuid-sandbox|g' /opt/google/chrome/google-chrome
- rm google-chrome.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment