-
Notifications
You must be signed in to change notification settings - Fork 42
/
.travis.yml
41 lines (41 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
language: ruby
dist: trusty
sudo: required
cache: bundler
services:
- mongodb
- mysql
bundler_args: --without development
before_script:
- sh -c "if [ '$DATABASE' = 'postgresql' ]; then psql -c 'create database groupify_test;' -U postgres; fi"
- sh -c "if [ '$DATABASE' = 'mysql' ]; then mysql -e 'create database groupify_test;'; fi"
after_success:
bundle exec codeclimate-test-reporter
env:
- DATABASE=sqlite3
- DATABASE=sqlite3mem
- DATABASE=postgresql
- DATABASE=mysql
rvm:
- 2.2.7
- 2.3.4
- 2.4.1
- jruby-9.1.9.0
#- rubinius-3
gemfile:
- gemfiles/rails_4.0.gemfile
- gemfiles/rails_4.1.gemfile
- gemfiles/rails_4.2.gemfile
- gemfiles/rails_5.0.gemfile
- gemfiles/rails_5.1.gemfile
matrix:
allow_failures:
- rvm: 2.4.1
#- rvm: rubinius-3
- rvm: jruby-9.1.9.0
gemfile: gemfiles/rails_5.0.gemfile
- rvm: jruby-9.1.9.0
gemfile: gemfiles/rails_5.1.gemfile
addons:
code_climate:
repo_token: 9ba385a9a2a4ccd816cf6768fcde3e9cc163a76b67838e3572be70850ffb5dc9