forked from the-benchmarker/web-frameworks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
186 lines (176 loc) · 5.48 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
# Exit build if no modification found
before_install: bash .ci/has_to_run.sh || travis_terminate 0
# Use latest ubuntu LTS (18.04)
dist: bionic
services:
- docker # Use docker to containerize frameworks
- postgresql # Use postgresql to store data
# This tool is written in crystal
language: crystal
env:
global:
- DATABASE_URL=postgresql://postgres@localhost/benchmark
jobs:
- FRAMEWORK=nim.httpbeast
- FRAMEWORK=nim.jester
- FRAMEWORK=c.kore
- FRAMEWORK=c.agoo-c
- FRAMEWORK=clojure.coast
- FRAMEWORK=elixir.cowboy_stream
- FRAMEWORK=elixir.phoenix
- FRAMEWORK=elixir.cowboy
- FRAMEWORK=elixir.plug
- FRAMEWORK=rust.nickel
- FRAMEWORK=rust.actix
- FRAMEWORK=rust.iron
- FRAMEWORK=rust.gotham
- FRAMEWORK=julia.merly
- FRAMEWORK=cpp.evhtp
- FRAMEWORK=cpp.drogon
- FRAMEWORK=crystal.kemal
- FRAMEWORK=crystal.shivneri
- FRAMEWORK=crystal.spider-gazelle
- FRAMEWORK=crystal.router.cr
- FRAMEWORK=crystal.amber
- FRAMEWORK=crystal.athena
- FRAMEWORK=crystal.grip
- FRAMEWORK=crystal.ricr
- FRAMEWORK=crystal.onyx
- FRAMEWORK=crystal.lucky
- FRAMEWORK=crystal.orion
- FRAMEWORK=crystal.toro
- FRAMEWORK=ruby.rails
- FRAMEWORK=ruby.grape
- FRAMEWORK=ruby.rack_app
- FRAMEWORK=ruby.flame
- FRAMEWORK=ruby.agoo
- FRAMEWORK=ruby.roda
- FRAMEWORK=ruby.rack-routing
- FRAMEWORK=ruby.syro
- FRAMEWORK=ruby.sinatra
- FRAMEWORK=ruby.camping
- FRAMEWORK=ruby.hanami
- FRAMEWORK=ruby.hanami-api
- FRAMEWORK=ruby.cuba
- FRAMEWORK=scala.akkahttp
- FRAMEWORK=scala.http4s
- FRAMEWORK=go.gramework
- FRAMEWORK=go.fasthttprouter
- FRAMEWORK=go.router
- FRAMEWORK=go.gin
- FRAMEWORK=go.echo
- FRAMEWORK=go.aero
- FRAMEWORK=go.webgo
- FRAMEWORK=go.chi
- FRAMEWORK=go.mars
- FRAMEWORK=go.air
- FRAMEWORK=go.gorouter
- FRAMEWORK=go.kami
- FRAMEWORK=go.fasthttp
- FRAMEWORK=go.goroute
- FRAMEWORK=go.atreugo
- FRAMEWORK=go.gorilla-mux
- FRAMEWORK=go.violetear
- FRAMEWORK=go.rte
- FRAMEWORK=go.gorouter-fasthttp
- FRAMEWORK=go.fiber
- FRAMEWORK=go.gf
- FRAMEWORK=go.httprouter
- FRAMEWORK=go.beego
- FRAMEWORK=csharp.aspnetcore
- FRAMEWORK=dart.aqueduct
- FRAMEWORK=php.imi
- FRAMEWORK=php.swoft
- FRAMEWORK=php.laravel
- FRAMEWORK=php.lumen
- FRAMEWORK=php.simps
- FRAMEWORK=php.slim
- FRAMEWORK=php.hyperf
- FRAMEWORK=php.laminas
- FRAMEWORK=php.one-fpm
- FRAMEWORK=php.phalcon
- FRAMEWORK=php.chubbyphp
- FRAMEWORK=php.one
- FRAMEWORK=php.ubiquity
- FRAMEWORK=php.sw-fw-less
- FRAMEWORK=php.mezzio
- FRAMEWORK=php.basicphp
- FRAMEWORK=php.symfony
- FRAMEWORK=php.spiral
- FRAMEWORK=php.hamlet
- FRAMEWORK=php.yii
- FRAMEWORK=php.workerman
- FRAMEWORK=python.cherrypy
- FRAMEWORK=python.apidaora
- FRAMEWORK=python.responder
- FRAMEWORK=python.asgineer
- FRAMEWORK=python.quart
- FRAMEWORK=python.emmett
- FRAMEWORK=python.hug
- FRAMEWORK=python.pyramid
- FRAMEWORK=python.blacksheep
- FRAMEWORK=python.starlette
- FRAMEWORK=python.clastic
- FRAMEWORK=python.aiohttp
- FRAMEWORK=python.falcon
- FRAMEWORK=python.molten
- FRAMEWORK=python.flask
- FRAMEWORK=python.fastapi
- FRAMEWORK=python.django
- FRAMEWORK=python.klein
- FRAMEWORK=python.sanic
- FRAMEWORK=python.bottle
- FRAMEWORK=python.masonite
- FRAMEWORK=python.tornado
- FRAMEWORK=python.cyclone
- FRAMEWORK=python.nameko
- FRAMEWORK=kotlin.ktor
- FRAMEWORK=java.micronaut
- FRAMEWORK=java.rapidoid
- FRAMEWORK=java.spring-framework
- FRAMEWORK=java.act
- FRAMEWORK=java.spring-boot
- FRAMEWORK=java.javalin
- FRAMEWORK=perl.dancer2
- FRAMEWORK=fsharp.suave
- FRAMEWORK=javascript.restana
- FRAMEWORK=javascript.express
- FRAMEWORK=javascript.muneem
- FRAMEWORK=javascript.iotjs-express
- FRAMEWORK=javascript.feathersjs
- FRAMEWORK=javascript.polka
- FRAMEWORK=javascript.nanoexpress-pro
- FRAMEWORK=javascript.fastify
- FRAMEWORK=javascript.nanoexpress
- FRAMEWORK=javascript.turbo_polka
- FRAMEWORK=javascript.foxify
- FRAMEWORK=javascript.0http
- FRAMEWORK=javascript.polkadot
- FRAMEWORK=javascript.rayo
- FRAMEWORK=javascript.sails
- FRAMEWORK=javascript.koa
- FRAMEWORK=javascript.moleculer
- FRAMEWORK=javascript.hapi
- FRAMEWORK=javascript.restify
- FRAMEWORK=javascript.sifrr
- FRAMEWORK=swift.perfect
- FRAMEWORK=swift.vapor
- FRAMEWORK=swift.swifter
- FRAMEWORK=swift.kitura-nio
- FRAMEWORK=swift.kitura
before_script:
- psql -c 'CREATE DATABASE benchmark;' -U postgres;
- psql -U postgres -d benchmark < .ci/dump.sql
script:
- shards install
- shards build
- bin/make config --without-sieger --keep
# Create logs directory for neph
- mkdir -p .neph/${FRAMEWORK}
- travis_wait 15 bin/neph ${FRAMEWORK} --mode=CI
- crystal spec
# Push on docker registry if tests are OK
# This does not work on forks
after_success: if [ ${TRAVIS_REPO_SLUG} == "the-benchmarker/web-frameworks" ]; then bash .ci/docker_release.sh ; fi
notifications:
email: false