Selenium with Headless Chrome on Travis CI
amihaiemil.com
amihaiemil.com
https://www.blazemeter.com/blog/headless-execution-selenium-...
https://stackoverflow.com/questions/494442/fake-x11-display
http://www.oracle.com/technetwork/articles/javase/headless-1...
https://stackoverflow.com/questions/32862344/what-is-the-dif...
https://github.com/nimmis/docker-java/tree/master/openjdk-8-...
Headless chrome makes much of these existing frameworks redundant, IMHO. Unless you have a suite of existing test cases in some framework, I'd consider just driving Chrome directly and skipping the overhead and external dependencies.
If you're only interested in ever testing in Chrome, great. But headless Firefox is in the release pipeline (I think it's being tested in Nightly?).