rest-client--rest-client/.travis.yml

68 lines
1.4 KiB
YAML
Raw Normal View History

# Available ruby versions: http://rubies.travis-ci.org/
2013-02-19 13:25:41 +00:00
language: ruby
2015-08-12 07:25:08 +00:00
os:
- linux
- osx
2013-02-19 13:25:41 +00:00
rvm:
2013-02-23 00:34:22 +00:00
- "2.0.0"
2015-03-14 01:01:52 +00:00
- "2.1" # latest 2.1.x
- "2.2" # latest 2.2.x
- "2.3.1" # TODO: switch to "2.3" once travis fixes it
- "ruby-head"
- "jruby-9.0.5.0"
- "jruby-9.1.5.0"
2015-04-29 17:32:59 +00:00
- "jruby-head"
2014-04-02 07:23:13 +00:00
script:
bundle exec rake test
branches:
except:
- "readme-edits"
before_install:
# bundler installation needed for jruby-head
# https://github.com/travis-ci/travis-ci/issues/5861
- gem install bundler
2015-09-27 19:47:41 +00:00
# Travis OS X support is pretty janky. These are some hacks to include tests
# only on versions that actually work.
# (last tested: 2016-10)
2015-09-27 19:47:41 +00:00
matrix:
exclude:
- os: osx
rvm: '2.2'
- os: osx
rvm: '2.3.1' # No 2.3.x at all
include:
- os: osx
rvm: '2.2.5' # Travis OS X doesn't have 2.2 aliases
allow_failures:
# bundle fails on ruby 2.4 due to rdoc dependency on json
# https://github.com/flori/json/issues/303
- rvm: 'ruby-head'
# jruby 9.1.x.x fails tests due to bug below
- os: osx
rvm: 'jruby-head'
- os: linux
rvm: 'jruby-head'
# jruby 9.1.x.x fails tests due to jruby bug
# https://github.com/jruby/jruby/issues/4217
- os: osx
rvm: 'jruby-9.1.5.0'
- os: linux
rvm: 'jruby-9.1.5.0'
# return results as soon as mandatory versions are done
2016-05-01 21:47:59 +00:00
fast_finish: true
sudo: false