lack/.travis.yml

24 lines
894 B
YAML
Raw Normal View History

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
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")
(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))'