lack/.travis.yml
2015-06-09 01:30:23 +09:00

28 lines
1.1 KiB
YAML

language: common-lisp
sudo: required
env:
matrix:
- LISP=sbcl COVERALLS=true
- LISP=ccl
install:
- curl -L https://raw.githubusercontent.com/snmsts/roswell/release/scripts/travis-install.sh | sh
- curl https://raw.githubusercontent.com/fukamachi/qlot/master/roswell/qlot.ros -o ~/qlot; chmod u+x ~/qlot
- cd $TRAVIS_BUILD_DIR; ~/qlot install
before_script:
- git clone https://github.com/fukamachi/qlot ~/lisp/qlot
script:
- ~/qlot exec
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))'