-
-
Notifications
You must be signed in to change notification settings - Fork 97
/
.travis.yml
47 lines (39 loc) · 1.18 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
language: common-lisp
sudo: required
os:
- linux
- osx
env:
global:
- PATH=~/.roswell/bin:$PATH
- ROSWELL_BRANCH=release
- ROSWELL_INSTALL_DIR=$HOME/.roswell
- WRK_VERSION=4.0.2
matrix:
- LISP=sbcl
addons:
apt:
packages:
- libev-dev
install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install libev; fi
- curl -L https://raw.githubusercontent.com/snmsts/roswell/$ROSWELL_BRANCH/scripts/install-for-ci.sh | sh
# wrk, go for benchmarking
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then
curl -L "https://github.com/wg/wrk/archive/$WRK_VERSION.tar.gz" | tar xzf -;
mkdir -p "$ROSWELL_INSTALL_DIR/bin";
(cd "wrk-$WRK_VERSION/" && make && cp wrk "$ROSWELL_INSTALL_DIR/bin");
sudo apt-get install golang;
fi
- ros install rove
- ros install cffi-grovel
- ros install fukamachi/fast-http
- ros install fukamachi/clack
- ros install fukamachi/dexador
before_script:
- ros run -- --version
script:
- ros -s woo-test
- rove woo-test.asd
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then benchmark/run-benchmark benchmark/woo/run; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then benchmark/run-benchmark benchmark/go/run; fi