language: ruby
rvm:
  - 2.2.2
branches:
  only:
    - master
before_install: gem install bundler
matrix:
  include:
    - rvm: jruby-head
      jdk: openjdk7
      env: DISABLE_NOKOGIRI=1
  allow_failures:
    - rvm: jruby-head
      jdk: openjdk7
      env: DISABLE_NOKOGIRI=1
notifications:
  irc:
    channels:
      - "chat.freenode.net#nanoc"
    template:
      - "%{repository}/%{branch} %{commit} %{author}: %{message}"
    use_notice: true
    skip_join: true

language: ruby
rvm:
  - 2.1.2
  - 2.2.2
branches:
  only:
    - "master"
    - "release-4.0.x"
before_install: gem install bundler
matrix:
  include:
    - rvm: jruby-head
      jdk: openjdk7
      env: DISABLE_NOKOGIRI=1
  allow_failures:
    - rvm: jruby-head
      jdk: openjdk7
      env: DISABLE_NOKOGIRI=1
notifications:
  irc:
    channels:
      - "chat.freenode.net#nanoc"
    template:
      - "%{repository}/%{branch} %{commit} %{author}: %{message}"
    use_notice: true
    skip_join: true

Add support for Ruby 2.1
Add support for Ruby 2.1
