os:
- linux
- osx

language: ruby

install:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install indent; fi
- bundle install --jobs=3 --retry=3

script:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then bundle exec rake ; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then bundle exec rake compile test ; fi

rvm:
- 2.0.0
- 2.1
- 2.2
- ruby-head

matrix:
  allow_failures:
  - rvm: ruby-head

addons:
  code_climate:
    repo_token: 02530029b1e956220f05076c590b84b9ab078362c9083312eb2ad41cab138408

os:
- linux
- osx

language: ruby

install:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install indent; fi
- bundle install --jobs=3 --retry=3

script:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then bundle exec rake ; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then bundle exec rake compile test ; fi

rvm:
- 2.0.0
- 2.1
- 2.2
- ruby-head

matrix:
  allow_failures:
  - rvm: ruby-head
  - os: osx

addons:
  code_climate:
    repo_token: 02530029b1e956220f05076c590b84b9ab078362c9083312eb2ad41cab138408

Allow failures in OSX until 2.2 binaries arrive
Allow failures in OSX until 2.2 binaries arrive
