-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path.travis.yml
68 lines (61 loc) · 1.74 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
language: common-lisp
sudo: required
env:
matrix:
- LISP=sbcl COVERALLS=true
# - LISP=sbcl32
- LISP=ccl
# - LISP=ccl32
- LISP=clisp
# - LISP=clisp32
- LISP=ecl
- LISP=abcl
# - LISP=allegro
# - LISP=cmucl
matrix:
allow_failures:
# - env: LISP=sbcl32
# - env: LISP=ccl32
- env: LISP=clisp
# - env: LISP=clisp32
# - env: LISP=cmucl
# - env: LISP=allegro
- env: LISP=ecl
- env: LISP=abcl
- env: LISP=ccl
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libgsl0-dev libffi-dev
install:
- if [ -x ./install.sh ] && head -2 ./install.sh | grep '^# cl-travis' > /dev/null;
then
./install.sh;
else
curl https://raw.githubusercontent.com/luismbo/cl-travis/master/install.sh | sh;
fi
# Coveralls support
- git clone https://github.com/fukamachi/cl-coveralls ~/lisp/cl-coveralls
script:
- cl -l prove
-e '(in-package :cl-user)'
-e '#+sbcl (ql:quickload :cl-coveralls)'
-e '(ql:quickload :black-stone)'
-e '(setf prove:*debug-on-error* t)'
-e '(setf *debugger-hook*
(lambda (c h)
(declare (ignore c h))
(uiop:quit -1)))'
-e '#+sbcl
(coveralls:with-coveralls (:exclude (list "t" "docs"))
(or (prove:run :black-stone-test)
(uiop:quit -1)))'
-e '#-sbcl
(or (prove:run :black-stone-test)
(uiop:quit -1))'
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/af863d8781f606879e08
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false