-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
44 lines (38 loc) · 1.52 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
language: lisp
env:
matrix:
- LISP=sbcl
matrix:
allow_failures:
# CIM not available for CMUCL
- env: LISP=cmucl
# either use a local install.sh script or install it via curl. Feel
# free to simplify this section in your own .travis.yml file.
install:
curl https://raw.githubusercontent.com/luismbo/cl-travis/master/install.sh | sh;
# this bit is just testing that travis correctly sets up ASDF to find
# systems placed somewhere within ~/lisp. You can remove this section
# in your own .travis.yml file.
before_script:
- echo "(defsystem :dummy-cl-travis-system)" > ~/lisp/dummy-cl-travis-system.asd
# this serves as an example of how to use the 'cl' script (provided by
# CIM) to test your Lisp project. Here, we're using the RT framework
# to do unit testing; other frameworks will have different ways of
# determining whether a test suite fails or succeeds.
script:
- cl -e '(ql:quickload :lxc-wrapper)'
-e '(ql:quickload :fiveam)'
-e '(setf fiveam:*debug-on-error* t
fiveam:*debug-on-failure* t)'
-e '(setf *debugger-hook*
(lambda (c h)
(declare (ignore c h))
(uiop:quit -1)))'
-e '(asdf:test-system :lxc-wrapper)'
# testing (albeit not extensively) that, even when invoked directly,
# Lisps still have Quicklisp available.
- if [ "$LISP" = "sbcl" ]; then
sbcl --non-interactive
--eval '(format t "~%Quicklisp version ~a is available!~%"
(ql:client-version))';
fi