summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Kanis <lars@greiz-reinsdorf.de>2016-04-08 22:39:13 +0200
committerLars Kanis <lars@greiz-reinsdorf.de>2016-04-09 21:06:42 +0200
commita1c306dbe6cfdfc57cbb9dc63799ca7f640576bc (patch)
tree95222b8119699a70a0cd04ab8902aad908048d85
parentb48156e3214a8baf283d98377fe50438162f0dd3 (diff)
downloadffi-a1c306dbe6cfdfc57cbb9dc63799ca7f640576bc.tar.gz
Travis-CI: update ruby versions and fix builds
Install libgmp-dev as a workaround for the missing dependency of rvm. See also: https://github.com/rvm/rvm/issues/3509
-rw-r--r--.travis.yml15
1 files changed, 10 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index f1ac3e3..e10cbc5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,12 @@
+sudo: false
+addons:
+ apt:
+ packages:
+ - libgmp-dev # this is needed for ruby-2.1.10 and ruby-head on linux
language: ruby
+before_install:
+ - gem install bundler
script: bundle exec rake test
-before_install: gem install bundler
os:
- linux
- osx
@@ -9,8 +15,8 @@ rvm:
- "1.8.7"
- "2.0.0"
- "2.1"
- - "2.2"
- - "2.3"
+ - "2.2.3"
+ - "2.3.0"
- "ruby-head"
- "rbx"
- "system"
@@ -21,8 +27,7 @@ matrix:
allow_failures:
- rvm: system
- os: osx
- rvm: "2.2"
- rvm: "2.3"
+ rvm: "2.3.0"
- os: osx
rvm: ruby-head
- rvm: "rbx"