Travis offers the use of a chrome supplement . If you want to run your build on Linux (trusty), all you have to do is specify chrome in your travis file and start the browser in silent mode before you start testing.
dist: trusty
addons:
chrome: stable
before_install:
-
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
source
share