git.fiddlerwoaroof.com
Browse code

Report code coverage

Fernando Borretti authored on 25/03/2015 22:06:09
Showing 1 changed files
... ...
@@ -2,7 +2,7 @@ language: common-lisp
2 2
 
3 3
 env:
4 4
   matrix:
5
-    - LISP=sbcl
5
+    - LISP=sbcl COVERALLS=true
6 6
     - LISP=ccl
7 7
     - LISP=clisp
8 8
 
... ...
@@ -11,15 +11,17 @@ install:
11 11
   - curl https://raw.githubusercontent.com/luismbo/cl-travis/master/install.sh | bash
12 12
   # Clone cl-libyaml
13 13
   - git clone https://github.com/eudoxia0/cl-libyaml.git quicklisp/local-projects/cl-libyaml
14
+  # coveralls.io
15
+  - git clone https://github.com/fukamachi/cl-coveralls ~/lisp/cl-coveralls
14 16
 
15 17
 script:
16
-  - cl -e '(ql:quickload :fiveam)'
18
+  - cl -l fiveam -l cl-coveralls
17 19
        -e '(setf fiveam:*debug-on-error* t)'
18 20
        -e '(setf *debugger-hook*
19 21
                  (lambda (c h)
20 22
                    (declare (ignore c h))
21 23
                    (uiop:quit -1)))'
22
-       -e '(ql:quickload :cl-yaml-test)'
24
+       -e '(coveralls:with-coveralls (ql:quickload :cl-yaml-test))'
23 25
 
24 26
 notifications:
25 27
   email: