Skip to content

Commit

Permalink
Add .travis.yml (#161)
Browse files Browse the repository at this point in the history
* Add supported Rubies.
* Add ruby-head 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 Gemfile.lock to .gitignore.
  • Loading branch information
junaruga authored and perlun committed Apr 26, 2017
1 parent c53d03b commit 5c3fe94
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
pkg
doc
coverage
Gemfile.lock
VERSION
*.rbc
.bundle
.bundle
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
language: ruby
sudo: false
before_install:
- which bundle || gem install bundler
rvm:
- 2.2.7
- 2.3.4
- 2.4.1
- ruby-head
- jruby-9.1.8.0
- jruby-head
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
fast_finish: true

0 comments on commit 5c3fe94

Please sign in to comment.