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