-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
34 lines (32 loc) · 1.13 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
language: ruby
sudo: false
before_install:
# TODO: Remove along with all BUNDLER_VERSION hackery once support for
# Vagrant < 1.9 is dropped.
#
# Travis has taken to installing Bundler as a "default" gem which locks
# it down and makes it extremely frustrating to use a different version.
- "find /home/travis/.rvm/rubies -wholename '*default/bundler-*.gemspec' -delete"
- gem install bundler --version $BUNDLER_VERSION
install: bundle _${BUNDLER_VERSION}_ install --without development
script: bundle _${BUNDLER_VERSION}_ exec rspec --color --format documentation
notifications:
email: false
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
matrix:
include:
- rvm: 2.2.5
env: TEST_VAGRANT_VERSION=v1.8.7 BUNDLER_VERSION=1.12.5
- rvm: 2.3.4
env: TEST_VAGRANT_VERSION=v1.9.8 BUNDLER_VERSION=1.16.1
- rvm: 2.4.4
env: TEST_VAGRANT_VERSION=v2.0.4 BUNDLER_VERSION=1.16.1
- rvm: 2.4.4
env: TEST_VAGRANT_VERSION=v2.1.5 BUNDLER_VERSION=1.16.1
- rvm: 2.4.4
env: TEST_VAGRANT_VERSION=v2.2.2 BUNDLER_VERSION=1.16.1
- rvm: 2.4.4
env: TEST_VAGRANT_VERSION=HEAD BUNDLER_VERSION=1.16.1