language: ruby
before_script:
  - sh -e /etc/init.d/xvfb start
  - export DISPLAY=:99.0
  - bundle exec rake test_app
script:
  - bundle exec rspec spec
rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.5
branches:
  except:
    - 1-0-stable

language: ruby
rvm:
  - 1.9.3
  - 2.0.0
  - 2.1
  - 2.2
sudo: false
branches:
  except:
    - 1-0-stable
before_script:
  - sh -e /etc/init.d/xvfb start
  - export DISPLAY=:99.0
  - bundle exec rake test_app
script:
  - bundle exec rspec spec

Use new build on Travis and test 2.2.
Use new build on Travis and test 2.2.
