forked from simukappu/activity_notification
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
85 lines (73 loc) · 1.87 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
language: ruby
branches:
except:
- images
rvm:
- 2.1.10
- 2.2.7
- 2.3.4
- 2.4.1
- ruby-head
gemfile:
- Gemfile
- gemfiles/Gemfile.rails-4.2
- gemfiles/Gemfile.rails-5.0
- gemfiles/Gemfile.rails-5.1
env:
- AN_ORM=active_record
- AN_ORM=mongoid
matrix:
exclude:
- rvm: 2.1.10
gemfile: Gemfile
- rvm: 2.1.10
gemfile: gemfiles/Gemfile.rails-5.0
- rvm: 2.1.10
gemfile: gemfiles/Gemfile.rails-5.1
- rvm: ruby-head
env: AN_ORM=mongoid
- gemfile: Gemfile
env: AN_ORM=mongoid
include:
- rvm: 2.4.1
gemfile: gemfiles/Gemfile.rails-4.2
env: AN_ORM=active_record AN_TEST_DB=mysql
- rvm: 2.4.1
gemfile: gemfiles/Gemfile.rails-4.2
env: AN_ORM=active_record AN_TEST_DB=postgresql
- rvm: 2.4.1
gemfile: gemfiles/Gemfile.rails-4.2
env: AN_ORM=mongoid AN_TEST_DB=mongodb
- rvm: 2.4.1
gemfile: gemfiles/Gemfile.rails-5.0
env: AN_ORM=active_record AN_TEST_DB=mysql
- rvm: 2.4.1
gemfile: gemfiles/Gemfile.rails-5.0
env: AN_ORM=active_record AN_TEST_DB=postgresql
- rvm: 2.4.1
gemfile: gemfiles/Gemfile.rails-5.0
env: AN_ORM=mongoid AN_TEST_DB=mongodb
- rvm: 2.4.1
gemfile: gemfiles/Gemfile.rails-5.1
env: AN_ORM=active_record AN_TEST_DB=mysql
- rvm: 2.4.1
gemfile: gemfiles/Gemfile.rails-5.1
env: AN_ORM=active_record AN_TEST_DB=postgresql
- rvm: 2.4.1
gemfile: gemfiles/Gemfile.rails-5.1
env: AN_ORM=mongoid AN_TEST_DB=mongodb
allow_failures:
- rvm: ruby-head
fast_finish: true
services:
- mongodb
sudo: false
cache: bundler
before_install: "rm ${BUNDLE_GEMFILE}.lock"
before_script:
- bundle update
- mysql -e 'create database activity_notification_test'
- psql -c 'create database activity_notification_test' -U postgres
script: bundle exec rspec
notifications:
email: true