Last active
January 7, 2016 14:08
-
-
Save JuanitoFatas/55e259d0efcfcd73dde1 to your computer and use it in GitHub Desktop.
Sample travis.yml for RubyGems.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| language: ruby | |
| bundler_args: --retry=3 --jobs=3 | |
| cache: bundler | |
| sudo: false | |
| rvm: | |
| - 2.3 | |
| - 2.2 | |
| - 2.1 | |
| - 2.0 | |
| - 1.9.3 | |
| - jruby-19mode | |
| - jruby-head | |
| - ruby-head | |
| env: | |
| global: | |
| - JRUBY_OPTS="-J-Xmx1024M --debug" | |
| matrix: | |
| allow_failures: | |
| - rvm: 1.9.3 | |
| - rvm: jruby-19mode | |
| - rvm: jruby-head | |
| - rvm: ruby-head | |
| fast_finish: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cache: bundlerSource, if you put gems undervendor/, read this warning 🙇- JRUBY_OPTS="-J-Xmx1024M --debug"from rails/rails 🌠fast_finish: truewill mark your build as "passed" as soon as all builds are passed except ones fromallow_failuresMore infoThis
.travis.ymlwill test latest Ruby 2.0.0, 2.1, 2.2.1.If you want to drop 1.9.3 support, add
spec.required_ruby_version = '~> 2.0'inyour-gem.gemspecand use this.travis.ymlinstead: