forked from newrelic/newrelic-ruby-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
154 lines (137 loc) · 3.78 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
services:
- mysql
- redis-server
- memcached
language: ruby
sudo: required
before_install:
- gem --version
- ./test/script/before_install/gemstash_mirror.sh
- bundle --version
install: bundle install
before_script: ./test/script/before_script/install_mongodb.sh
script: ./test/script/ci.sh
branches:
only:
- master
- dev
- release
notifications:
webhooks: http://notifitron.herokuapp.com/
on_success: always
on_failure: always
rvm:
# Run slowest builds first to try and optimize overall cycle time.
- jruby-9.1.8.0
- 2.4.1
- 2.3.4
- 2.2.7
- 2.1.10
- 2.0.0-p648
env:
global:
- BUNDLE_PATH=/home/travis/bundle
- MONGODB=2.6.11
- JAVA_OPTS="-XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xmx640m"
- JRUBY_OPTS="-Xcompile.invokedynamic=false -J-Djruby.compile.mode=OFF"
- RBXOPT="-Xcompiler.no_rbc -Xint"
- SERIALIZE=1
- TESTOPTS="-v"
- VERBOSE = 1
matrix:
# RUBY-1668 rails21, rails22, and rails23 are all excluded below
- TYPE=UNIT ENVIRONMENT=rails21
- TYPE=UNIT ENVIRONMENT=rails22
- TYPE=UNIT ENVIRONMENT=rails23
- TYPE=UNIT ENVIRONMENT=rails30
- TYPE=UNIT ENVIRONMENT=rails31
- TYPE=UNIT ENVIRONMENT=rails32
- TYPE=UNIT ENVIRONMENT=rails40
- TYPE=UNIT ENVIRONMENT=rails41
- TYPE=UNIT ENVIRONMENT=rails42
- TYPE=UNIT ENVIRONMENT=rails50
- TYPE=UNIT ENVIRONMENT=rails51
- TYPE=UNIT ENVIRONMENT=norails
- TYPE=FUNCTIONAL GROUP=agent
- TYPE=FUNCTIONAL GROUP=api
- TYPE=FUNCTIONAL GROUP=background
- TYPE=FUNCTIONAL GROUP=database
- TYPE=FUNCTIONAL GROUP=httpclients
- TYPE=FUNCTIONAL GROUP=rails
- TYPE=FUNCTIONAL GROUP=serialization
- TYPE=FUNCTIONAL GROUP=sinatra
- TYPE=FUNCTIONAL GROUP=rest
- TYPE=FUNCTIONAL GROUP=background_2
- TYPE=NULLVERSE
matrix:
fast_finish: true
exclude:
# Unsupported Rails/Ruby combinations
# 2.4
- rvm: 2.4.1
env: TYPE=UNIT ENVIRONMENT=rails21
- rvm: 2.4.1
env: TYPE=UNIT ENVIRONMENT=rails22
- rvm: 2.4.1
env: TYPE=UNIT ENVIRONMENT=rails23
- rvm: 2.4.1
env: TYPE=UNIT ENVIRONMENT=rails30
- rvm: 2.4.1
env: TYPE=UNIT ENVIRONMENT=rails31
- rvm: 2.4.1
env: TYPE=UNIT ENVIRONMENT=rails32
- rvm: 2.4.1
env: TYPE=UNIT ENVIRONMENT=rails40
- rvm: 2.4.1
env: TYPE=UNIT ENVIRONMENT=rails41
- rvm: 2.4.1
env: TYPE=UNIT ENVIRONMENT=rails42
# 2.3
- rvm: 2.3.4
env: TYPE=UNIT ENVIRONMENT=rails21
- rvm: 2.3.4
env: TYPE=UNIT ENVIRONMENT=rails22
- rvm: 2.3.4
env: TYPE=UNIT ENVIRONMENT=rails23
# 2.2
- rvm: 2.2.7
env: TYPE=UNIT ENVIRONMENT=rails21
- rvm: 2.2.7
env: TYPE=UNIT ENVIRONMENT=rails22
- rvm: 2.2.7
env: TYPE=UNIT ENVIRONMENT=rails23
# 2.1
- rvm: 2.1.10
env: TYPE=UNIT ENVIRONMENT=rails21
- rvm: 2.1.10
env: TYPE=UNIT ENVIRONMENT=rails22
- rvm: 2.1.10
env: TYPE=UNIT ENVIRONMENT=rails23
- rvm: 2.1.10
env: TYPE=UNIT ENVIRONMENT=rails50
- rvm: 2.1.10
env: TYPE=UNIT ENVIRONMENT=rails51
# 2.0
- rvm: 2.0.0-p648
env: TYPE=UNIT ENVIRONMENT=rails21
- rvm: 2.0.0-p648
env: TYPE=UNIT ENVIRONMENT=rails22
- rvm: 2.0.0-p648
env: TYPE=UNIT ENVIRONMENT=rails23
- rvm: 2.0.0-p648
env: TYPE=UNIT ENVIRONMENT=rails50
- rvm: 2.0.0-p648
env: TYPE=UNIT ENVIRONMENT=rails51
# jruby 9.0
- rvm: jruby-9.1.8.0
env: TYPE=UNIT ENVIRONMENT=rails21
- rvm: jruby-9.1.8.0
env: TYPE=UNIT ENVIRONMENT=rails22
- rvm: jruby-9.1.8.0
env: TYPE=UNIT ENVIRONMENT=rails23
- rvm: jruby-9.1.8.0
env: TYPE=UNIT ENVIRONMENT=rails30
- rvm: jruby-9.1.8.0
env: TYPE=UNIT ENVIRONMENT=rails31
- rvm: jruby-9.1.8.0
env: TYPE=UNIT ENVIRONMENT=rails32