forked from brainspec/enumerize
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
50 lines (50 loc) · 1 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
language: ruby
sudo: false
services:
- mongodb
addons:
postgresql: 9.6
gemfile:
- Gemfile
- Gemfile.rails42
- Gemfile.rails50
- Gemfile.rails52
- Gemfile.rails60
- Gemfile.mongo_mapper
rvm:
- 2.2.9
- 2.3.6
- 2.4.3
- 2.5.0
- jruby-9.1.14.0
before_install:
# Rubygems > 3.0.0 no longer supported rubies < 2.3
- gem install "rubygems-update:<3.0.0" --no-document && update_rubygems
# Bundler 2.0 is not supported by Rails < 5
- gem list -i bundler -v '>= 2.0.0' && rvm @global do gem uninstall bundler -x || true
- gem install bundler -v '< 2'
env:
global:
- DB_USER=postgres
- DB_PASS=
matrix:
- DB=sqlite3
- DB=postgresql
matrix:
fast_finish: true
allow_failures:
- rvm: jruby-9.1.14.0
exclude:
- gemfile: Gemfile.mongo_mapper
env: DB=postgresql
- rvm: 2.2.9
gemfile: Gemfile.rails60
- rvm: 2.3.6
gemfile: Gemfile.rails60
- rvm: 2.4.3
gemfile: Gemfile.rails60
branches:
only:
- master
notifications:
email: false