Skip to content

Commit

Permalink
Fix failing Travis builds:
Browse files Browse the repository at this point in the history
Work around an unresolved Travis/Bundler/RubyGems bug:

* travis-ci/travis-ci#8978
* travis-ci/travis-ci#8969

Remove `dist: trusty` as that's the default:

* https://blog.travis-ci.com/2017-07-11-trusty-as-default-linux-is-coming
* https://blog.travis-ci.com/2017-08-31-trusty-as-default-status

Use the recommended Rubinius version (rbx-3):

* travis-ci/docs-travis-ci-com#1534

Cache dependencies to speed up builds:

* https://docs.travis-ci.com/user/caching/

Automatically choose the latest versions of 2.x (e.g. currently 2.4.4 for 2.4):

* rvm/rvm#4352 (comment)
  • Loading branch information
chocolateboy authored and citizen428 committed May 2, 2018
1 parent 3f79167 commit 610aed6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ pkg/
*.rbc
.bundle/
doc/
/vendor/
15 changes: 9 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
sudo: false
language: ruby
dist: trusty
cache: bundler
rvm:
- 2.4.0
- 2.5.1
- jrub
- rbx
- 2.4
- 2.5
- jruby
- rbx-3
- ruby-head
before_install:
- gem update --system
- gem install bundler
matrix:
allow_failures:
- rvm: rbx
- rvm: rbx-3

0 comments on commit 610aed6

Please sign in to comment.