2015-03-07 04:28:37 +09:00
|
|
|
language: common-lisp
|
2015-05-28 13:38:46 +03:00
|
|
|
sudo: required
|
2015-03-07 04:28:37 +09:00
|
|
|
|
|
|
|
env:
|
|
|
|
matrix:
|
2015-03-19 10:20:32 +09:00
|
|
|
- LISP=sbcl COVERALLS=true
|
2015-03-07 04:28:37 +09:00
|
|
|
- LISP=ccl
|
|
|
|
|
|
|
|
install:
|
2015-06-09 05:57:23 +09:00
|
|
|
# Install Roswell
|
2015-06-15 19:20:58 +09:00
|
|
|
- curl -L https://raw.githubusercontent.com/fukamachi/roswell/fix-prefix/scripts/install-for-ci.sh | sh
|
2015-06-09 05:57:23 +09:00
|
|
|
|
|
|
|
before_script:
|
2015-06-16 03:02:15 +09:00
|
|
|
- git clone https://github.com/fukamachi/clack ~/lisp/clack
|
2015-06-09 17:30:19 +09:00
|
|
|
- git clone https://github.com/fukamachi/cl-coveralls $TRAVIS_BUILD_DIR/quicklisp/local-projects/cl-coveralls
|
2015-05-29 17:18:03 +09:00
|
|
|
|
2015-03-07 04:28:37 +09:00
|
|
|
script:
|
2015-06-16 03:02:15 +09:00
|
|
|
- ros -s prove -s cl-coveralls
|
|
|
|
-e '(or (coveralls:with-coveralls (:exclude (list "t" "quicklisp"))
|
|
|
|
(loop for file in (uiop:directory-files (uiop:ensure-directory-pathname (uiop:getenv "TRAVIS_BUILD_DIR")))
|
|
|
|
when (and (string= (pathname-type file) "asd")
|
|
|
|
(< 2 (length (pathname-name file)))
|
|
|
|
(string= (pathname-name file) "t-" :end1 2))
|
|
|
|
collect (pathname-name file) into test-files
|
|
|
|
finally
|
|
|
|
(return (not (some (function null) (mapcar (function prove:run) test-files))))))
|
|
|
|
(uiop:quit -1))'
|