-
-
Notifications
You must be signed in to change notification settings - Fork 86
/
.travis.yml
58 lines (51 loc) · 1.6 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
language: common-lisp
# Wookie handler fails with memory corruption when using Travis CI's new container-based architecture.
sudo: required
env:
global:
- PATH=~/.roswell/bin:~/nginx/sbin:$PATH
- LD_LIBRARY_PATH=$HOME/libuv/lib:$LD_LIBRARY_PATH
- C_INCLUDE_PATH=$HOME/libuv/include:$C_INCLUDE_PATH
- ROSWELL_BRANCH=release
- ROSWELL_INSTALL_DIR=$HOME/.roswell
- COVERAGE_EXCLUDE=t
matrix:
- LISP=sbcl-bin COVERALLS=true
- LISP=ccl-bin
- LISP=abcl
- LISP=ecl
- LISP=clisp
matrix:
allow_failures:
- env: LISP=ecl
- env: LISP=clisp
addons:
apt:
packages:
- libfcgi-dev
install:
# Install Roswell
- curl -L https://raw.githubusercontent.com/snmsts/roswell/$ROSWELL_BRANCH/scripts/install-for-ci.sh | sh
# libuv for Wookie
- if ! [ -f "$HOME/libuv/include/uv.h" ]; then
curl -L https://github.com/libuv/libuv/archive/v1.31.0.tar.gz | tar xzf -;
(cd libuv-1.31.0 && ./autogen.sh && ./configure --prefix=$HOME/libuv && make && make install);
fi
# nginx
- if ! [ -f "$HOME/nginx/sbin/nginx" ]; then
curl -L http://nginx.org/download/nginx-1.8.0.tar.gz | tar xzf -;
(cd nginx-1.8.0 && ./configure --prefix=$HOME/nginx && make && make install);
fi
- ros install rove
- ros install fukamachi/dexador
- ros install fukamachi/fast-http
before_script:
- nginx -c "$TRAVIS_BUILD_DIR/t/nginx.conf" -p "$HOME/nginx"
- ros --version
- ros config
script:
- if [ "$LISP" = "sbcl-bin" ]; then
for file in `ls t-*.asd | grep -v wookie`; do rove $file; done
else
rove t-clack-handler-hunchentoot.asd;
fi