From 5c3fe94eb8fcfd29415ad12b6ca6c644a302d981 Mon Sep 17 00:00:00 2001 From: Jun Aruga Date: Wed, 26 Apr 2017 07:07:08 +0200 Subject: [PATCH] Add .travis.yml (#161) * 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. --- .gitignore | 3 ++- .travis.yml | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.gitignore b/.gitignore index 6908d5ae..67b6ac18 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ pkg doc coverage +Gemfile.lock VERSION *.rbc -.bundle \ No newline at end of file +.bundle diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..f4579ec1 --- /dev/null +++ b/.travis.yml @@ -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