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:
|
|
|
|
# Install cl-travis
|
|
|
|
- curl https://raw.githubusercontent.com/luismbo/cl-travis/master/install.sh | bash
|
|
|
|
|
2015-03-07 04:29:29 +09:00
|
|
|
before_script:
|
2015-03-12 21:31:12 +09:00
|
|
|
- git clone https://github.com/fukamachi/http-body ~/lisp/http-body
|
2015-03-19 10:20:32 +09:00
|
|
|
- git clone https://github.com/fukamachi/cl-coveralls ~/lisp/cl-coveralls
|
2015-03-07 04:29:29 +09:00
|
|
|
|
2015-03-07 04:28:37 +09:00
|
|
|
script:
|
2015-03-19 10:20:32 +09:00
|
|
|
- cl -l prove -l cl-coveralls
|
2015-03-26 07:38:25 +09:00
|
|
|
-e '(or (coveralls:with-coveralls (:exclude "t")
|
2015-03-22 00:24:44 +09:00
|
|
|
(loop for file in (uiop:directory-files (uiop:ensure-directory-pathname (uiop:getenv "TRAVIS_BUILD_DIR")))
|
2015-03-21 02:08:56 +09:00
|
|
|
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
|
2015-03-22 00:16:17 +09:00
|
|
|
(return (not (some (function null) (mapcar (function prove:run) test-files))))))
|
2015-03-19 10:20:32 +09:00
|
|
|
(uiop:quit -1))'
|