-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
57 lines (52 loc) · 1.46 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
language: lisp
sudo: required
addons:
apt:
packages:
- ca-certificates
env:
matrix:
- LISP=sbcl COVERALLS=true
- LISP=ccl
- LISP=clisp
- LISP=ecl
- LISP=abcl
- LISP=allegro
- LISP=cmucl
matrix:
allow_failures:
- env: LISP=allegro
- env: LISP=cmucl
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 :bit-smasher)'
-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"))
(or (prove:run :bit-smasher-test)
(uiop:quit -1)))'
-e '#-sbcl
(or (prove:run :bit-smasher-test)
(uiop:quit -1))'
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/66746896189b712c0ec3
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false