Use Roswell for testing.

This commit is contained in:
Eitaro Fukamachi 2015-06-09 01:26:10 +09:00
parent 4bc4617dbd
commit 7c287063a4

View file

@ -7,20 +7,19 @@ env:
- LISP=ccl
install:
# Install cl-travis
- curl https://raw.githubusercontent.com/luismbo/cl-travis/master/install.sh | bash
- curl -L https://raw.githubusercontent.com/snmsts/roswell/release/scripts/travis-install.sh | sh
before_script:
- git clone https://github.com/fukamachi/clack ~/lisp/clack
script:
- cl -l prove -l cl-coveralls
-e '(or (coveralls:with-coveralls (:exclude "t")
(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))'
- ros -s prove -s cl-coveralls
-e '(or (coveralls:with-coveralls (:exclude "t")
(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))'