lack/.travis.yml

35 lines
1.3 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:
2015-06-15 19:12:27 +09:00
global:
- PATH=~/.roswell/bin:$PATH
2015-03-07 04:28:37 +09:00
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
2015-06-15 19:20:58 +09:00
- curl -L https://raw.githubusercontent.com/fukamachi/roswell/fix-prefix/scripts/install-for-ci.sh | sh
2015-06-09 05:57:23 +09:00
# Use the latest Qlot
2015-06-09 06:02:54 +09:00
- git clone https://github.com/fukamachi/qlot ~/lisp/qlot
2015-06-09 05:57:23 +09:00
# Install Qlot
2015-06-15 19:12:27 +09:00
- ros -l ~/lisp/qlot/qlot.asd 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-06-09 17:30:19 +09:00
- git clone https://github.com/fukamachi/cl-coveralls $TRAVIS_BUILD_DIR/quicklisp/local-projects/cl-coveralls
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
ros -s prove -s cl-coveralls
2015-06-16 02:56:05 +09:00
-e '(or (coveralls:with-coveralls (:exclude (list "t" "quicklisp"))
(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))'