forked from influxdata/influxdb-rails
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (31 loc) · 864 Bytes
/
.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
sudo: required
dist: trusty
language: ruby
before_install:
- gem update --system --no-doc
- gem install bundler --no-doc
rvm:
- 2.4.2
- 2.3.5
- 2.2.8
gemfile:
- gemfiles/Gemfile.rails-5.1.x
- gemfiles/Gemfile.rails-5.0.x
- gemfiles/Gemfile.rails-4.2.x
- gemfiles/Gemfile.rails-4.1.x
- gemfiles/Gemfile.rails-4.0.x
matrix:
exclude:
# Rails 5+ only on MRI 2.3+
- { rvm: "2.2.8", gemfile: "gemfiles/Gemfile.rails-5.1.x" }
- { rvm: "2.2.8", gemfile: "gemfiles/Gemfile.rails-5.0.x" }
# Rails < 5 not on MRI 2.4
- { rvm: "2.4.2", gemfile: "gemfiles/Gemfile.rails-4.2.x" }
- { rvm: "2.4.2", gemfile: "gemfiles/Gemfile.rails-4.1.x" }
- { rvm: "2.4.2", gemfile: "gemfiles/Gemfile.rails-4.0.x" }
notifications:
email:
on_success: change
on_failure: always
script: bundle exec rake spec