forked from airbrake/airbrake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
142 lines (124 loc) · 6.41 KB
/
circle.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
machine:
java:
version: openjdk7
ruby:
version: 2.4.0
dependencies:
override:
- gem update --remote bundler
- gem update --system
- bundle install
- ? |
case $CIRCLE_NODE_INDEX in
0)
rvm-exec 2.0.0-p645 bundle install --jobs=15
rvm-exec 2.0.0-p645 bundle exec appraisal install --jobs=15
;;
1)
rvm-exec 2.1.10 bundle install --jobs=15
rvm-exec 2.1.10 bundle exec appraisal install --jobs=15
;;
2)
rvm-exec 2.2.5 bundle install --jobs=15
rvm-exec 2.2.5 bundle exec appraisal install --jobs=15
;;
3)
# Workaround for https://github.com/sickill/rainbow/issues/48
rvm-exec 2.3.3 gem update --remote bundler
rvm-exec 2.3.3 gem update --system
rvm-exec 2.3.3 bundle install --jobs=15
rvm-exec 2.3.3 bundle exec appraisal install --jobs=15
;;
4)
rvm-exec 2.4.0 bundle install --jobs=15
rvm-exec 2.4.0 bundle exec appraisal install --jobs=15
;;
5)
# The 'dev' switch makes JRuby start about 2.5 times faster.
# See: https://github.com/jruby/jruby/wiki/Improving-startup-time
export JRUBY_OPTS="--dev -Xcompile.invokedynamic=false -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -J-noverify -Xcompile.mode=OFF"
# Workaround for https://github.com/sickill/rainbow/issues/48
rvm-exec jruby-9.1.7.0 gem update --remote bundler
rvm-exec jruby-9.1.7.0 gem update --system
rvm-exec jruby-9.1.7.0 bundle install --jobs=15
rvm-exec jruby-9.1.7.0 bundle exec appraisal install --jobs=15
;;
esac
:
parallel: true
test:
override:
- bundle exec rubocop
- ? |
case $CIRCLE_NODE_INDEX in
0)
rvm-exec 2.0.0-p645 bundle exec appraisal rails-3.2 rake spec:integration:rails
rvm-exec 2.0.0-p645 bundle exec appraisal rails-4.0 rake spec:integration:rails
rvm-exec 2.0.0-p645 bundle exec appraisal rails-4.1 rake spec:integration:rails
rvm-exec 2.0.0-p645 bundle exec appraisal rails-4.2 rake spec:integration:rails
rvm-exec 2.0.0-p645 bundle exec appraisal sinatra rake spec:integration:sinatra
rvm-exec 2.0.0-p645 bundle exec appraisal rack rake spec:integration:rack
;;
1)
rvm-exec 2.1.10 bundle exec appraisal rails-3.2 rake spec:integration:rails
rvm-exec 2.1.10 bundle exec appraisal rails-4.0 rake spec:integration:rails
rvm-exec 2.1.10 bundle exec appraisal rails-4.1 rake spec:integration:rails
rvm-exec 2.1.10 bundle exec appraisal rails-4.2 rake spec:integration:rails
rvm-exec 2.1.10 bundle exec appraisal sinatra rake spec:integration:sinatra
rvm-exec 2.1.10 bundle exec appraisal rack rake spec:integration:rack
;;
2)
rvm-exec 2.2.5 bundle exec appraisal rails-3.2 rake spec:integration:rails
rvm-exec 2.2.5 bundle exec appraisal rails-4.0 rake spec:integration:rails
rvm-exec 2.2.5 bundle exec appraisal rails-4.1 rake spec:integration:rails
rvm-exec 2.2.5 bundle exec appraisal rails-4.2 rake spec:integration:rails
rvm-exec 2.2.5 bundle exec appraisal rails-5.0 rake spec:integration:rails
rvm-exec 2.2.5 bundle exec appraisal sinatra rake spec:integration:sinatra
rvm-exec 2.2.5 bundle exec appraisal rack rake spec:integration:rack
;;
3)
rvm-exec 2.3.3 bundle exec appraisal rails-3.2 rake spec:integration:rails
rvm-exec 2.3.3 bundle exec appraisal rails-4.0 rake spec:integration:rails
rvm-exec 2.3.3 bundle exec appraisal rails-4.1 rake spec:integration:rails
rvm-exec 2.3.3 bundle exec appraisal rails-4.2 rake spec:integration:rails
rvm-exec 2.3.3 bundle exec appraisal rails-5.0 rake spec:integration:rails
rvm-exec 2.3.3 bundle exec appraisal sinatra rake spec:integration:sinatra
rvm-exec 2.3.3 bundle exec appraisal rack rake spec:integration:rack
;;
4)
rvm-exec 2.4.0 bundle exec appraisal rails-3.2 rake spec:integration:rails
rvm-exec 2.4.0 bundle exec appraisal rails-4.0 rake spec:integration:rails
rvm-exec 2.4.0 bundle exec appraisal rails-4.1 rake spec:integration:rails
rvm-exec 2.4.0 bundle exec appraisal rails-4.2 rake spec:integration:rails
rvm-exec 2.4.0 bundle exec appraisal rails-5.0 rake spec:integration:rails
rvm-exec 2.4.0 bundle exec appraisal rails-edge rake spec:integration:rails
rvm-exec 2.4.0 bundle exec appraisal sinatra rake spec:integration:sinatra
rvm-exec 2.4.0 bundle exec appraisal rack rake spec:integration:rack
;;
5)
export JRUBY_OPTS="--dev -Xcompile.invokedynamic=false -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -J-noverify -Xcompile.mode=OFF"
rvm-exec jruby-9.1.7.0 bundle exec appraisal rails-3.2 rake spec:integration:rails
rvm-exec jruby-9.1.7.0 bundle exec appraisal rails-4.0 rake spec:integration:rails
rvm-exec jruby-9.1.7.0 bundle exec appraisal rails-4.1 rake spec:integration:rails
rvm-exec jruby-9.1.7.0 bundle exec appraisal rails-4.2 rake spec:integration:rails
rvm-exec jruby-9.1.7.0 bundle exec appraisal rails-5.0 rake spec:integration:rails
rvm-exec jruby-9.1.7.0 bundle exec appraisal sinatra rake spec:integration:sinatra
rvm-exec jruby-9.1.7.0 bundle exec appraisal rack rake spec:integration:rack
;;
esac
:
parallel: true
- ? |
case $CIRCLE_NODE_INDEX in
0) rvm-exec 2.0.0-p645 bundle exec rake spec:unit ;;
1) rvm-exec 2.1.10 bundle exec rake spec:unit ;;
2) rvm-exec 2.2.5 bundle exec rake spec:unit ;;
3) rvm-exec 2.3.3 bundle exec rake spec:unit ;;
4) rvm-exec 2.4.0 bundle exec rake spec:unit ;;
5)
export JRUBY_OPTS="--dev -Xcompile.invokedynamic=false -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -J-noverify -Xcompile.mode=OFF"
rvm-exec jruby-9.1.7.0 bundle exec rake spec:unit
;;
esac
:
parallel: true