forked from appsignal/appsignal-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild_matrix.yml
111 lines (103 loc) · 2.55 KB
/
build_matrix.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
travis: # Default `.travis.yml` contents
sudo: false
branches:
only:
- "master"
- "develop"
language: ruby
cache:
directories:
- "$TRAVIS_BUILD_DIR/vendor/cache"
env:
global:
- "BUNDLE_PATH=$TRAVIS_BUILD_DIR/vendor/cache"
- "RUNNING_IN_CI=true"
- "RAILS_ENV=test"
- "JRUBY_OPTS=''" # Workaround https://github.com/travis-ci/travis-ci/issues/6471
before_install:
- "./support/install_deps"
install: "./support/bundler_wrapper install --jobs=3 --retry=3 --path=${BUNDLE_PATH:-$TRAVIS_BUILD_DIR/vendor/cache}"
before_script:
- "./support/bundler_wrapper exec rake extension:install"
script: "./support/bundler_wrapper exec rake test"
after_failure:
- "find ./ext -name install.report -exec cat {} \\;"
- "find ./ext -name mkmf.log -exec cat {} \\;"
matrix:
fast_finish: true
include: # Builds based on the matrix below are added to this list
- rvm: "2.6.0"
gemfile: "gemfiles/no_dependencies.gemfile"
before_script: "" # Unset default: No need to install the extension
script:
- "./support/bundler_wrapper exec rake build_matrix:travis:validate"
- "./support/bundler_wrapper exec rubocop"
matrix:
defaults:
rubygems: "latest"
bundler: "latest"
gemsets: # By default all gems are tested
none:
- "no_dependencies"
minimal:
- "no_dependencies"
- "rails-5.2"
- "rails-6.2"
ruby:
- ruby: "2.0.0"
rubygems: "2.7.8"
- ruby: "2.1.8"
rubygems: "2.7.8"
gems: "none"
- ruby: "2.2.4"
rubygems: "2.7.8"
gems: "none"
- ruby: "2.3.8"
gems: "none"
- ruby: "2.4.5"
gems: "none"
- ruby: "2.5.3"
gems: "minimal"
- ruby: "2.6.0"
- ruby: "jruby-19mode"
gems: "minimal"
gems:
- gem: "no_dependencies"
- gem: "capistrano2"
- gem: "capistrano3"
- gem: "grape"
- gem: "padrino"
bundler: "1.17.3"
- gem: "que"
- gem: "rails-3.2"
bundler: "1.17.3"
exclude:
ruby:
- "2.6.0"
- gem: "rails-4.2"
bundler: "1.17.3"
exclude:
ruby:
- "2.6.0"
- gem: "rails-5.0"
exclude:
ruby:
- "2.0.0"
- gem: "rails-5.1"
exclude:
ruby:
- "2.0.0"
- gem: "rails-5.2"
exclude:
ruby:
- "2.0.0"
- gem: "rails-6.0"
exclude:
ruby:
- "2.0.0"
- gem: "resque"
bundler: "1.17.3"
- gem: "sequel"
- gem: "sequel-435"
- gem: "sinatra"
- gem: "webmachine"