forked from the-benchmarker/web-frameworks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
176 lines (167 loc) · 5.16 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
# 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.iron
- FRAMEWORK=rust.gotham
- FRAMEWORK=julia.merly
- FRAMEWORK=cpp.evhtp
- FRAMEWORK=cpp.drogon
- FRAMEWORK=crystal.kemal
- FRAMEWORK=crystal.spider-gazelle
- FRAMEWORK=crystal.router.cr
- FRAMEWORK=crystal.amber
- FRAMEWORK=crystal.athena
- FRAMEWORK=crystal.grip
- FRAMEWORK=crystal.raze
- FRAMEWORK=crystal.onyx
- FRAMEWORK=crystal.lucky
- FRAMEWORK=crystal.orion
- FRAMEWORK=crystal.toro
- FRAMEWORK=ruby.rails
- FRAMEWORK=ruby.grape
- 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=php.imi
- FRAMEWORK=php.swoft
- FRAMEWORK=php.laravel
- FRAMEWORK=php.lumen
- FRAMEWORK=php.slim
- FRAMEWORK=php.hyperf
- FRAMEWORK=php.one-fpm
- FRAMEWORK=php.zend-framework
- FRAMEWORK=php.phalcon
- FRAMEWORK=php.zend-expressive
- FRAMEWORK=php.one
- FRAMEWORK=php.ubiquity
- FRAMEWORK=php.sw-fw-less
- 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.polka
- FRAMEWORK=javascript.fastify
- FRAMEWORK=javascript.nanoexpress
- FRAMEWORK=javascript.turbo_polka
- FRAMEWORK=javascript.foxify
- FRAMEWORK=javascript.0http
- FRAMEWORK=javascript.polkadot
- FRAMEWORK=javascript.rayo
- 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
after_success:
- echo ${DOCKER_PASSWORD} | docker login -u ${DOCKER_USERNAME} --password-stdin
- docker tag ${FRAMEWORK} ${DOCKER_USERNAME}/${FRAMEWORK}
- docker push ${DOCKER_USERNAME}/${FRAMEWORK}
notifications:
email: false