-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
97 lines (93 loc) · 2.59 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
86
87
88
89
90
91
92
93
94
95
96
97
language: ruby
cache: bundler
rvm:
- 2.0.0
- 2.1.10
- 2.2.10
- 2.3.8
- 2.4.9
- 2.5.6
- 2.6.5
- 2.7.0
gemfile:
- gemfiles/Gemfile.rails-3-0-stable
- gemfiles/Gemfile.rails-3-1-stable
- gemfiles/Gemfile.rails-3-2-stable
- gemfiles/Gemfile.rails-4-0-stable
- gemfiles/Gemfile.rails-4-1-stable
- gemfiles/Gemfile.rails-4-2-stable
- gemfiles/Gemfile.rails-5-0-stable
- gemfiles/Gemfile.rails-5-1-stable
- gemfiles/Gemfile.rails-5-2-stable
- Gemfile
jobs:
exclude:
# Exclude Rails 5 from Ruby < 2.3
- rvm: 2.0.0
gemfile: gemfiles/Gemfile.rails-5-2-stable
- rvm: 2.0.0
gemfile: gemfiles/Gemfile.rails-5-1-stable
- rvm: 2.0.0
gemfile: gemfiles/Gemfile.rails-5-0-stable
- rvm: 2.1.10
gemfile: gemfiles/Gemfile.rails-5-2-stable
- rvm: 2.1.10
gemfile: gemfiles/Gemfile.rails-5-1-stable
- rvm: 2.1.10
gemfile: gemfiles/Gemfile.rails-5-0-stable
- rvm: 2.2.10
gemfile: gemfiles/Gemfile.rails-5-2-stable
- rvm: 2.2.10
gemfile: gemfiles/Gemfile.rails-5-1-stable
- rvm: 2.2.10
gemfile: gemfiles/Gemfile.rails-5-0-stable
# Exclude Rails 6 from Ruby < 2.5
- rvm: 2.0.0
gemfile: Gemfile
- rvm: 2.1.10
gemfile: Gemfile
- rvm: 2.2.10
gemfile: Gemfile
- rvm: 2.3.8
gemfile: Gemfile
- rvm: 2.4.9
gemfile: Gemfile
# Exclude Rails 3.0 from Ruby => 2.5
- rvm: 2.5.6
gemfile: gemfiles/Gemfile.rails-3-0-stable
- rvm: 2.6.5
gemfile: gemfiles/Gemfile.rails-3-0-stable
# Exclude Rails 3 and 4 from Ruby 2.7, as they require
# Bunder < 2, and Ruby 2.7 ships with Bundler 2.1.2, and
# I can't seem to force it to use an earlier version
- rvm: 2.7.0
gemfile: gemfiles/Gemfile.rails-3-0-stable
- rvm: 2.7.0
gemfile: gemfiles/Gemfile.rails-3-1-stable
- rvm: 2.7.0
gemfile: gemfiles/Gemfile.rails-3-2-stable
- rvm: 2.7.0
gemfile: gemfiles/Gemfile.rails-4-0-stable
- rvm: 2.7.0
gemfile: gemfiles/Gemfile.rails-4-1-stable
- rvm: 2.7.0
gemfile: gemfiles/Gemfile.rails-4-2-stable
include:
- name: Documentation
script: bundle exec jekyll build
rvm: 2.6.5
gemfile: Gemfile
if: branch = master AND type = push
deploy:
local_dir: _site
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
keep_history: true
script: 'bundle exec rake'
notifications:
email:
recipients:
on_failure: change
on_success: never