forked from TechEmpower/FrameworkBenchmarks
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
executable file
·229 lines (222 loc) · 6.55 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
sudo: required
dist: trusty
language: python
python:
- "2.7"
env:
matrix:
#Group tests by directory to logically break up travis-CI build. Otherwise
#we end up starting ~200+ different workers. Seems that ~100 is the limit
#before their website starts to lag heavily
#Here's the bash if you need to update this. Be sure to maintain the
#lines that are currently commented out (these cannot run in Travis)
# cd frameworks
# find . -type d -depth 2 | sed 's|./| - "TESTDIR=|' | sed 's/$/"/g'
#
#
- "TESTDIR=C/libreactor"
- "TESTDIR=C/lwan"
- "TESTDIR=C/duda"
- "TESTDIR=C/haywire"
- "TESTDIR=C/onion"
- "TESTDIR=CSharp/aspnet"
## - "TESTDIR=CSharp/aspnet-stripped"
- "TESTDIR=CSharp/evhttp-sharp"
## - "TESTDIR=CSharp/HttpListener"
- "TESTDIR=CSharp/nancy"
- "TESTDIR=CSharp/servicestack"
- "TESTDIR=C++/cpoll_cppsp"
- "TESTDIR=C++/silicon"
- "TESTDIR=C++/treefrog"
- "TESTDIR=C++/ulib"
- "TESTDIR=C++/wt"
- "TESTDIR=C++/ffead-cpp"
- "TESTDIR=C++/poco"
- "TESTDIR=Clojure/compojure"
- "TESTDIR=Clojure/http-kit"
- "TESTDIR=Clojure/luminus"
- "TESTDIR=Clojure/pedestal"
- "TESTDIR=Clojure/aleph"
- "TESTDIR=Crystal/crystal-raw"
- "TESTDIR=Crystal/moonshine"
- "TESTDIR=Crystal/kemal"
- "TESTDIR=D/vibed"
- "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=Erlang/misultin"
- "TESTDIR=Go/beego"
- "TESTDIR=Go/falcore"
- "TESTDIR=Go/fasthttp-mysql"
- "TESTDIR=Go/fasthttp-postgresql"
- "TESTDIR=Go/gin"
- "TESTDIR=Go/go-raw"
- "TESTDIR=Go/goji"
- "TESTDIR=Go/go-raw-mongodb"
- "TESTDIR=Go/revel"
- "TESTDIR=Go/revel-jet"
- "TESTDIR=Go/revel-qbs"
- "TESTDIR=Go/webgo"
- "TESTDIR=Groovy/grails"
- "TESTDIR=Haskell/snap"
- "TESTDIR=Haskell/wai"
- "TESTDIR=Haskell/yesod"
- "TESTDIR=Haskell/spock"
- "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-servlet"
- "TESTDIR=Java/jetty"
- "TESTDIR=Java/jooby"
- "TESTDIR=Java/netty"
- "TESTDIR=Java/ninja-standalone"
- "TESTDIR=Java/officefloor"
- "TESTDIR=Java/play1"
- "TESTDIR=Java/play1siena"
- "TESTDIR=Java/play2-java"
- "TESTDIR=Java/rapidoid"
- "TESTDIR=Java/restexpress"
- "TESTDIR=Java/servlet"
- "TESTDIR=Java/servlet3-cass"
- "TESTDIR=Java/servlet-dsl"
- "TESTDIR=Java/spark"
- "TESTDIR=Java/sabina"
- "TESTDIR=Java/spring"
- "TESTDIR=Java/tapestry"
- "TESTDIR=Java/undertow"
- "TESTDIR=Java/undertow-edge"
- "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/ringojs-convenient"
- "TESTDIR=JavaScript/sailsjs"
- "TESTDIR=Lua/lapis"
- "TESTDIR=Lua/openresty"
- "TESTDIR=Nim/jester"
- "TESTDIR=Nim/nawak"
- "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-php-framework"
- "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/micromvc"
- "TESTDIR=PHP/phalcon"
- "TESTDIR=PHP/phalcon-micro"
- "TESTDIR=PHP/phpixie"
- "TESTDIR=PHP/pimf"
- "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/asyncio"
- "TESTDIR=Python/bottle"
- "TESTDIR=Python/cherrypy"
- "TESTDIR=Python/django"
- "TESTDIR=Python/falcon"
- "TESTDIR=Python/flask"
- "TESTDIR=Python/historical"
- "TESTDIR=Python/klein"
- "TESTDIR=Python/pyramid"
- "TESTDIR=Python/tornado"
- "TESTDIR=Python/turbogears"
- "TESTDIR=Python/uwsgi"
- "TESTDIR=Python/web2py"
- "TESTDIR=Python/wheezyweb"
- "TESTDIR=Python/wsgi"
- "TESTDIR=Racket/racket-ws"
- "TESTDIR=Ruby/grape"
- "TESTDIR=Ruby/ngx_mruby"
- "TESTDIR=Ruby/padrino"
- "TESTDIR=Ruby/rack"
- "TESTDIR=Ruby/rails"
- "TESTDIR=Ruby/rails-stripped"
- "TESTDIR=Ruby/sinatra"
- "TESTDIR=Ruby/sinatra-sequel"
- "TESTDIR=Rust/iron"
- "TESTDIR=Rust/nickel"
- "TESTDIR=Rust/hyper"
- "TESTDIR=Scala/akka-http"
- "TESTDIR=Scala/colossus"
- "TESTDIR=Scala/finagle"
- "TESTDIR=Scala/fintrospect"
- "TESTDIR=Scala/lift-stateless"
- "TESTDIR=Scala/plain"
- "TESTDIR=Scala/play2-scala"
- "TESTDIR=Scala/scalatra"
- "TESTDIR=Scala/scruffy"
- "TESTDIR=Scala/spray"
- "TESTDIR=Scala/spray-es"
- "TESTDIR=Scala/unfiltered"
- "TESTDIR=Scala/http4s"
- "TESTDIR=Scala/finch"
- "TESTDIR=Ur/urweb"
before_install:
- pip install colorama==0.3.1
# Version 2.3 has a nice Counter() and other features
# but it requires —-allow-external and -—allow-unverified
- pip install progressbar==2.2
- pip install requests
- echo "127.0.0.1 " `hostname` | sudo tee /etc/hosts
- echo "127.0.0.1 localhost" | sudo tee /etc/hosts
services:
- postgresql
- redis-server
addons:
postgresql: "9.3"
apt:
packages:
- mysql-server
- redis-server
before_script:
- sudo ./config/travis_mysql_setup.sh
- mysql -uroot < config/create.sql
- sudo ./config/create-redis.sh
script:
# Pick one test in this directory and verify
- time ./toolset/run-ci.py verify "$TESTDIR"
cache:
directories:
- /home/testrunner/.m2/repository