-
Notifications
You must be signed in to change notification settings - Fork 20
/
.travis.yml
43 lines (38 loc) · 1.24 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
language: lisp
sudo: required
env:
matrix:
# - LISP=abcl
# - LISP=allegro
- LISP=sbcl
# - LISP=sbcl32
- LISP=ccl
# - LISP=ccl32
# - LISP=clisp
# - LISP=clisp32
# - LISP=cmucl
# - LISP=ecl
matrix:
allow_failures:
# CIM not available for CMUCL
- env: LISP=cmucl
install:
- curl https://raw.githubusercontent.com/luismbo/cl-travis/master/install.sh | sh;
script:
- cl -e '(push *default-pathname-defaults* ql:*local-project-directories*)
(ql:quickload :fiasco)
(ql:quickload :hunchensocket)
(ql:quickload :hunchensocket-tests)
(defparameter *result* (fiasco:run-package-tests :packages
(quote (:hunchensocket-tests))))
(unless *result* (uiop:quit 1))
;; Latest fiasco handles this much better, but the current verion in
;; quicklisp returns a list of test results (global contexts)
;;
(when (and (consp *result*)
(notevery (function zerop)
(mapcar (function length)
(mapcar (function fiasco::failure-descriptions-of)
*result*))))
(uiop:quit 1))
'