Created
January 3, 2016 16:00
-
-
Save deepsweet/fe64d6a7e118f9375de4 to your computer and use it in GitHub Desktop.
headless Chrome and Firefox with Travis
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
before_install: | |
- export CHROME_BIN=chromium-browser | |
- export DISPLAY=:99.0 | |
- sh -e /etc/init.d/xvfb start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
customLaunchers: { | |
ChromeTravis: { | |
base: 'Chrome', | |
flags: [ '--no-sandbox' ] | |
} | |
}, | |
browsers: [ 'ChromeTravis', 'Firefox' ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment