forked from TechEmpower/FrameworkBenchmarks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
236 lines (228 loc) · 7.29 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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
# Travis CI
#
#
sudo: required
dist: trusty
language: generic
python:
- "2.7"
env:
matrix:
- "TESTDIR=C/duda"
- "TESTDIR=C/onion"
- "TESTDIR=C/h2o"
- "TESTDIR=C/octane"
- "TESTDIR=CSharp/aspnet"
- "TESTDIR=CSharp/aspnetcore"
## - "TESTDIR=CSharp/aspnet-stripped"
- "TESTDIR=CSharp/evhttp-sharp"
## - "TESTDIR=CSharp/HttpListener"
- "TESTDIR=CSharp/nancy"
- "TESTDIR=CSharp/revenj"
- "TESTDIR=CSharp/servicestack"
- "TESTDIR=C++/cpoll_cppsp"
- "TESTDIR=C++/cutelyst"
- "TESTDIR=C++/silicon"
- "TESTDIR=C++/treefrog"
- "TESTDIR=C++/ulib"
- "TESTDIR=C++/wt"
- "TESTDIR=C++/poco"
- "TESTDIR=C++/luna"
- "TESTDIR=Clojure/compojure"
- "TESTDIR=Clojure/http-kit"
- "TESTDIR=Clojure/luminus"
- "TESTDIR=Clojure/macchiato"
- "TESTDIR=Clojure/pedestal"
- "TESTDIR=Clojure/aleph"
- "TESTDIR=Crystal/amber"
- "TESTDIR=Crystal/crystal"
- "TESTDIR=Crystal/kemal"
- "TESTDIR=Crystal/kemalyst"
- "TESTDIR=D/vibed"
- "TESTDIR=D/hunt"
- "TESTDIR=D/collie"
- "TESTDIR=Dart/dart-raw"
- "TESTDIR=Dart/redstone"
- "TESTDIR=Dart/start"
- "TESTDIR=Dart/stream"
- "TESTDIR=Elixir/phoenix"
- "TESTDIR=Elixir/cowboy"
- "TESTDIR=Erlang/chicagoboss"
- "TESTDIR=Erlang/cowboy"
- "TESTDIR=Erlang/elli"
- "TESTDIR=Erlang/mochiweb"
- "TESTDIR=Go/aah"
- "TESTDIR=Go/beego"
- "TESTDIR=Go/echo"
- "TESTDIR=Go/falcore"
- "TESTDIR=Go/fasthttp"
- "TESTDIR=Go/gin"
- "TESTDIR=Go/goji"
- "TESTDIR=Go/go-std"
- "TESTDIR=Go/revel"
- "TESTDIR=Go/webgo"
- "TESTDIR=Groovy/grails"
- "TESTDIR=Groovy/hot"
- "TESTDIR=Haskell/snap"
- "TESTDIR=Haskell/wai"
- "TESTDIR=Haskell/yesod"
- "TESTDIR=Haskell/servant"
- "TESTDIR=Haskell/spock"
- "TESTDIR=Java/act"
- "TESTDIR=Java/activeweb"
- "TESTDIR=Java/baratine"
- "TESTDIR=Java/bayou"
- "TESTDIR=Java/comsat-servlet"
- "TESTDIR=Java/comsat-webactors"
- "TESTDIR=Java/curacao"
- "TESTDIR=Java/dropwizard"
- "TESTDIR=Java/gemini"
- "TESTDIR=Java/grizzly-bm"
- "TESTDIR=Java/grizzly-jersey"
- "TESTDIR=Java/jawn"
- "TESTDIR=Java/jetty"
- "TESTDIR=Java/jlhttp"
- "TESTDIR=Java/jooby"
- "TESTDIR=Java/light-java"
- "TESTDIR=Java/netty"
- "TESTDIR=Java/ninja-standalone"
- "TESTDIR=Java/officefloor"
- "TESTDIR=Java/permeagility"
- "TESTDIR=Java/play1"
- "TESTDIR=Java/play2-java"
- "TESTDIR=Java/proteus"
- "TESTDIR=Java/rapidoid"
- "TESTDIR=Java/restexpress"
- "TESTDIR=Java/revenj-jvm"
- "TESTDIR=Java/servlet"
- "TESTDIR=Java/spark"
- "TESTDIR=Java/spring"
- "TESTDIR=Java/tapestry"
- "TESTDIR=Java/undertow"
- "TESTDIR=Java/undertow-jersey-c3p0"
- "TESTDIR=Java/undertow-jersey-hikaricp"
- "TESTDIR=Java/vertx"
- "TESTDIR=Java/vertx-web"
- "TESTDIR=Java/wicket"
- "TESTDIR=Java/beyondj"
- "TESTDIR=Java/wildfly-ee7"
- "TESTDIR=JavaScript/express"
- "TESTDIR=JavaScript/hapi"
- "TESTDIR=JavaScript/koa"
- "TESTDIR=JavaScript/nodejs"
- "TESTDIR=JavaScript/ringojs"
- "TESTDIR=JavaScript/sailsjs"
- "TESTDIR=Kotlin/hexagon"
- "TESTDIR=Kotlin/ktor"
- "TESTDIR=Lua/lapis"
- "TESTDIR=Lua/octopus"
- "TESTDIR=Lua/openresty"
- "TESTDIR=Nim/jester"
- "TESTDIR=Perl/dancer"
- "TESTDIR=Perl/kelp"
- "TESTDIR=Perl/mojolicious"
- "TESTDIR=Perl/plack"
- "TESTDIR=Perl/web-simple"
- "TESTDIR=PHP/cakephp"
- "TESTDIR=PHP/hhvm"
- "TESTDIR=PHP/php"
- "TESTDIR=PHP/cygnite"
- "TESTDIR=PHP/codeigniter"
- "TESTDIR=PHP/clancats"
- "TESTDIR=PHP/fat-free"
- "TESTDIR=PHP/fuel"
- "TESTDIR=PHP/kohana"
- "TESTDIR=PHP/laravel"
- "TESTDIR=PHP/limonade"
- "TESTDIR=PHP/lithium"
- "TESTDIR=PHP/lumen"
- "TESTDIR=PHP/phalcon"
- "TESTDIR=PHP/phalcon-micro"
- "TESTDIR=PHP/phpixie"
- "TESTDIR=PHP/silex"
- "TESTDIR=PHP/silex-orm"
- "TESTDIR=PHP/slim"
- "TESTDIR=PHP/symfony2"
- "TESTDIR=PHP/symfony2-stripped"
- "TESTDIR=PHP/yaf"
- "TESTDIR=PHP/yii2"
- "TESTDIR=PHP/zend"
- "TESTDIR=PHP/zend1"
- "TESTDIR=PHP/phreeze"
- "TESTDIR=Python/aiohttp"
- "TESTDIR=Python/apistar"
- "TESTDIR=Python/api_hour"
- "TESTDIR=Python/bottle"
- "TESTDIR=Python/cherrypy"
- "TESTDIR=Python/django"
- "TESTDIR=Python/falcon"
- "TESTDIR=Python/flask"
- "TESTDIR=Python/historical"
- "TESTDIR=Python/klein"
- "TESTDIR=Python/morepath"
- "TESTDIR=Python/pyramid"
- "TESTDIR=Python/tornado"
- "TESTDIR=Python/turbogears"
- "TESTDIR=Python/uvicorn"
- "TESTDIR=Python/uwsgi"
- "TESTDIR=Python/web2py"
- "TESTDIR=Python/weppy"
- "TESTDIR=Python/wheezyweb"
- "TESTDIR=Python/wsgi"
- "TESTDIR=Ruby/grape"
- "TESTDIR=Ruby/h2o_mruby"
- "TESTDIR=Ruby/hanami"
- "TESTDIR=Ruby/ngx_mruby"
- "TESTDIR=Ruby/padrino"
- "TESTDIR=Ruby/rack"
- "TESTDIR=Ruby/rack-sequel"
- "TESTDIR=Ruby/rails"
- "TESTDIR=Ruby/rails-stripped"
- "TESTDIR=Ruby/roda-sequel"
- "TESTDIR=Ruby/sinatra"
- "TESTDIR=Ruby/sinatra-sequel"
- "TESTDIR=Rust/iron"
- "TESTDIR=Rust/nickel"
- "TESTDIR=Rust/hyper"
- "TESTDIR=Rust/tokio-minihttp"
- "TESTDIR=Rust/rouille"
- "TESTDIR=Scala/akka-http"
- "TESTDIR=Scala/blaze"
- "TESTDIR=Scala/colossus"
- "TESTDIR=Scala/finagle"
- "TESTDIR=Scala/finatra"
- "TESTDIR=Scala/fintrospect"
- "TESTDIR=Scala/play2-scala"
- "TESTDIR=Scala/scruffy"
- "TESTDIR=Scala/spray"
- "TESTDIR=Scala/s-server"
- "TESTDIR=Scala/http4s"
- "TESTDIR=Scala/finch"
- "TESTDIR=Swift/vapor"
- "TESTDIR=Ur/urweb"
- "TESTDIR=Vala/vsgi"
- "TESTDIR=Vala/valum"
before_script:
# Runs travis_diff, printing the output to the terminal, and searches for travis-diff-continue
# to determine if the suite should be installed and the current $TESTDIR test should run.
- export CONTINUE_TEST=`./toolset/travis/travis_diff.py | tee /dev/tty | grep -q "travis-diff-continue" && echo 1`
# travis_clean.sh takes care of some services that are baked into the travis
# build. Using language: generic gets us an ubuntu build with fewer services,
# but includes database installs, ruby and rvm installs, and others that interfere
# with running the suite in a clean ubuntu install.
- if [ $CONTINUE_TEST ]; then source ./toolset/travis/travis_clean.sh; else echo 'Skipping travis_clean.sh'; fi
# travis_setup.sh runs all the same commands you would run if you were setting up
# a development environment via:
# http://frameworkbenchmarks.readthedocs.io/en/latest/Development/Installation-Guide/
- if [ $CONTINUE_TEST ]; then source ./toolset/travis/travis_setup.sh; else echo 'Skipping travis_setup.sh'; fi
script:
# run-ci.py runs the diffing to see if travis needs to test this framework. Ideally/eventually,
# we'd like to try and do the diffing before travis_clean & setup.
# This will run the tests exactly as you would in your own vm:
# ./toolset/run-tests.py --mode verify --test (all the valid tests for this framework)
- if [ $CONTINUE_TEST ]; then tfb --mode verify --test-dir "$TESTDIR"; else echo 'Skipping test verification.'; fi
# - tfb --mode verify --test
cache:
directories:
- $HOME/.m2/repository
- $HOME/.cache/pip