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 05:57:23 +09:00
|
|
|
# Install Roswell
|
|
|
|
- curl -L https://raw.githubusercontent.com/snmsts/roswell/release/scripts/travis-install.sh | sh
|
|
|
|
- export PATH=~/.roswell/bin:$PATH
|
|
|
|
# Use the latest Qlot
|
2015-06-09 05:12:25 +09:00
|
|
|
- git clone -b fix-subdir-asd https://github.com/fukamachi/qlot ~/lisp/qlot
|
2015-06-09 05:57:23 +09:00
|
|
|
# Install Qlot
|
2015-06-09 05:42:19 +09:00
|
|
|
- ros install qlot
|
2015-06-09 05:57:23 +09:00
|
|
|
|
|
|
|
before_script:
|
2015-06-09 05:42:19 +09:00
|
|
|
- cd $TRAVIS_BUILD_DIR && qlot install
|
2015-05-29 17:18:03 +09:00
|
|
|
|
2015-03-07 04:28:37 +09:00
|
|
|
script:
|
2015-06-09 05:42:19 +09:00
|
|
|
- qlot exec
|
2015-06-09 01:29:13 +09:00
|
|
|
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))'
|