Check screenshots on Travis using Docker and Selenium

Thanks to the docker service provided by Travis CI, we should be able to
download and use the Selenium docker images in order to run our
screenshotter and check whether all the screenshots match the images from
the repository.
This commit is contained in:
Martin von Gagern 2015-11-06 10:23:19 +01:00
parent c20b8f8456
commit 5ecbcf6808

View File

@ -1,4 +1,13 @@
language: node_js
node_js:
- "0.11"
- "0.10"
- stable
sudo: required
services:
- docker
before_script:
- docker pull selenium/standalone-firefox:2.46.0
- docker pull selenium/standalone-chrome:2.46.0
script:
- npm test
- dockers/Screenshotter/screenshotter.sh
- git diff --name-only --exit-code