summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun Aruga <jaruga@redhat.com>2017-04-19 16:17:02 +0200
committerJun Aruga <jaruga@redhat.com>2017-04-24 15:28:44 +0200
commit7487352d35fe7b389e027bfb5da7c0a27f768470 (patch)
tree7c3bacb56eca671da61a54bc04ab0e8230418898
parent6dcb116e37e20e58f615ffe05a40bbe9a536e44a (diff)
downloadmethod_source-7487352d35fe7b389e027bfb5da7c0a27f768470.tar.gz
Update .travis.yml
* Update rubies to latest version. * Add ruby-head and jruby-head to Travis as allow_failures. * It's good to know new version Ruby's issue as faster before the release. * fast_finish is to get the Travis result as faster without waiting the result of the "allow_failures" items. See https://blog.travis-ci.com/2013-11-27-fast-finishing-builds/ * Add logic to update Bundler because of below issue. http://stackoverflow.com/questions/33733476/nomethoderror-undefined-method-spec-for-nilnilclass-active-utils-factory
-rw-r--r--.travis.yml18
1 files changed, 15 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index b8bcb75..e0c78b8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,16 +1,28 @@
+bundler_args: "--verbose"
+before_install:
+ - gem update --system
+ - which bundle || gem install bundler
+ - gem update bundler
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- ree
- - rbx-18mode
- - rbx-19mode
+ - rbx
- jruby
+ - jruby-head
- 2.0.0
- 2.1
- 2.2
- 2.3
- - 2.4.0
+ - 2.4.1
+ - ruby-head
+matrix:
+ allow_failures:
+ - rvm: ruby-head
+ - rvm: jruby-head
+ - rvm: rbx
+ fast_finish: true
notifications:
irc: "irc.freenode.org#pry"
recipients: