try running the tests with headless firefox

This commit is contained in:
Thomas Walpole 2017-05-24 14:26:14 -07:00
parent 8749a75cdb
commit 8f9e450c2c
1 changed files with 6 additions and 0 deletions

View File

@ -87,6 +87,11 @@ matrix:
apt:
packages:
- awesome
- gemfile: Gemfile
rvm: 2.4.1
addons:
firefox: latest-nightly
script: MOZ_HEADLESS=1 bundle exec rake travis
allow_failures:
- gemfile: gemfiles/Gemfile.beta-versions
- gemfile: gemfiles/Gemfile.edge-marionette
@ -95,6 +100,7 @@ matrix:
- gemfile: Gemfile
rvm: 2.4.1
env: CAPYBARA_CHROME_HEADLESS=true
- script: MOZ_HEADLESS=1 bundle exec rake travis
before_install:
- mkdir -p ~/drivers; export PATH=~/drivers:$PATH;
- if [ $CAPYBARA_CHROME ] || [ $CAPYBARA_CHROME_HEADLESS ]; then