git.fiddlerwoaroof.com
Browse code

Configure for travis (init)

fiddlerwoaroof authored on 26/06/2017 16:10:00
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,42 @@
1
+language: lisp
2
+sudo: required
3
+
4
+env:
5
+  matrix:
6
+    - LISP=abcl
7
+    - LISP=allegro
8
+    - LISP=sbcl
9
+    - LISP=sbcl32
10
+    - LISP=ccl
11
+    - LISP=ccl32
12
+    - LISP=clisp
13
+    - LISP=clisp32
14
+    - LISP=cmucl
15
+    - LISP=ecl
16
+
17
+matrix:
18
+  allow_failures:
19
+    # CIM not available for CMUCL
20
+    - env: LISP=cmucl
21
+    # issue #16
22
+    - env: LISP=allegro
23
+
24
+# either use a local install.sh script or install it via curl. Feel
25
+# free to simplify this section in your own .travis.yml file.
26
+install:
27
+  - if [ -x ./install.sh ] && head -2 ./install.sh | grep '^# cl-travis' > /dev/null;
28
+    then
29
+      ./install.sh;
30
+    else
31
+      curl https://raw.githubusercontent.com/luismbo/cl-travis/master/install.sh | sh;
32
+    fi     
33
+
34
+# this serves as an example of how to use the 'cl' script (provided by
35
+# CIM) to test your Lisp project. Here, we're using the RT framework
36
+# to do unit testing; other frameworks will have different ways of
37
+# determining whether a test suite fails or succeeds.
38
+script:
39
+  - cl -e '(ql:quickload :stream-provider)'
40
+  - cl -e '(ql:quickload :stream-provider)
41
+           (asdf:test-op :stream-provider)';
42
+    [ $? -eq 1 ]