-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
53 lines (48 loc) · 1.26 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
language: ruby
rvm:
- ruby-head
- 2.6
- 2.5
- 2.4
- 2.3
gemfile:
- 'gemfiles/action_mailer_edge.gemfile'
- 'gemfiles/action_mailer_52.gemfile'
- 'gemfiles/action_mailer_51.gemfile'
env:
- INTEGRATION_TEST=false
- INTEGRATION_TEST=true
sudo: false
script:
- 'bundle exec rubocop -c .rubocop.yml'
- 'bundle exec rspec'
- 'if [ $INTEGRATION_TEST == "true" ]; then bundle exec rspec integration_test; fi'
after_success:
- 'bundle exec codeclimate-test-reporter'
cache: bundler
matrix:
exclude:
- env: INTEGRATION_TEST=true
- rvm: 2.3
gemfile: gemfiles/action_mailer_51.gemfile
- rvm: 2.3
gemfile: gemfiles/action_mailer_edge.gemfile
- rvm: 2.4
gemfile: gemfiles/action_mailer_51.gemfile
- rvm: 2.4
gemfile: gemfiles/action_mailer_edge.gemfile
- rvm: 2.5
gemfile: gemfiles/action_mailer_51.gemfile
- rvm: 2.5
gemfile: gemfiles/action_mailer_edge.gemfile
- rvm: ruby-head
gemfile: gemfiles/action_mailer_51.gemfile
- rvm: ruby-head
gemfile: gemfiles/action_mailer_edge.gemfile
include:
- rvm: 2.6
gemfile: gemfiles/action_mailer_52.gemfile
env: INTEGRATION_TEST=true
allow_failures:
- rvm: ruby-head
- gemfile: gemfiles/action_mailer_edge.gemfile