1
0
Fork 0
mirror of https://github.com/rest-client/rest-client.git synced 2022-11-09 13:49:40 -05:00
rest-client--rest-client/.travis.yml

63 lines
1.4 KiB
YAML
Raw Normal View History

# Available ruby versions: http://rubies.travis-ci.org/
2013-02-19 08:25:41 -05:00
language: ruby
sudo: false
2015-08-12 03:25:08 -04:00
os:
- linux
# - osx
2013-02-19 08:25:41 -05:00
rvm:
2015-03-13 21:01:52 -04:00
- "2.1" # latest 2.1.x
- "2.2.10"
- "2.3.8"
- "2.4.6"
- "2.5.5"
- "2.6.3"
- "ruby-head"
- "jruby-9.1.9.0"
2015-04-29 13:32:59 -04:00
- "jruby-head"
2017-02-18 22:19:36 -05:00
cache: bundler
2014-04-02 03:23:13 -04:00
script:
2017-07-05 03:15:00 -04:00
- bundle exec rake test
- bundle exec rake rubocop
branches:
except:
- "readme-edits"
before_install:
# Install rubygems < 3.0 so that we can support ruby < 2.3
# https://github.com/rubygems/rubygems/issues/2534
- gem install rubygems-update -v '<3' && update_rubygems
# bundler installation needed for jruby-head
# https://github.com/travis-ci/travis-ci/issues/5861
2019-08-21 16:50:26 -04:00
# stick to bundler 1.x in order to support ruby < 2.3
- gem install bundler -v '~> 1.17'
2015-09-27 15:47:41 -04:00
# Travis macOS support is pretty janky. These are some hacks to include tests
# only on versions that actually work. We test on macOS because Apple monkey
# patches OpenSSL to have different behavior, and we want to ensure that SSL
# verification at least is broken in the expected ways on macOS.
# (last tested: 2019-08)
2015-09-27 15:47:41 -04:00
matrix:
# exclude: {}
include:
# test only a few versions on mac
- os: osx
rvm: 2.6.3
- os: osx
rvm: ruby-head
- os: osx
rvm: jruby-9.1.9.0
- os: osx
rvm: jruby-head
allow_failures:
- rvm: 'ruby-head'
# return results as soon as mandatory versions are done
2016-05-01 17:47:59 -04:00
fast_finish: true