language: ruby
cache: bundler
rvm:
- 2.1
script: "bundle exec rake test:all"

env:
  global:
  - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer

language: ruby
cache: bundler
rvm:
- 2.1
script: "bundle exec rake test:all"

# branch whitelist
branches:
  only:
  - gh-pages     # test the gh-pages branch
  - /pages-(.*)/ # test every branch which starts with "pages-"

env:
  global:
  - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer

Revert "Remove branch whitelist for Travis CI"
Revert "Remove branch whitelist for Travis CI"

This reverts commit 99fe8f0e24454a41e486b17452655cb910ceaeb1.
