lack/.travis.yml

29 lines
1.1 KiB
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:
2015-06-09 01:26:10 +09:00
- 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
2015-03-07 04:28:37 +09:00
2015-05-29 17:18:03 +09:00
before_script:
- git clone https://github.com/fukamachi/qlot ~/lisp/qlot
2015-05-29 17:18:03 +09:00
2015-03-07 04:28:37 +09:00
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))'