language: ruby
rvm:
  - 2.2
  - 2.1.1
install: bundle install
script: bundle exec jekyll build
env:
  global: NOKOGIRI_USE_SYSTEM_LIBRARIES=true

language: ruby
rvm:
  - 2.2
  - 2.1.1
install: bundle install
script: bundle exec jekyll build
branches:
  only: /^.*$/
env:
  global: NOKOGIRI_USE_SYSTEM_LIBRARIES=true

Enable Travis CI builds for all branches
Enable Travis CI builds for all branches

From the Travis CI documentation:

> Note that the `gh-pages` branch will not be built unless you add it to the
> whitelist (`branches.only`).

Use regular expressions to whitelist all branches.
