mirror of
https://github.com/vale981/lack
synced 2025-03-05 17:31:39 -05:00
27 lines
1.1 KiB
YAML
27 lines
1.1 KiB
YAML
language: common-lisp
|
|
sudo: required
|
|
|
|
env:
|
|
matrix:
|
|
- LISP=sbcl COVERALLS=true
|
|
- LISP=ccl
|
|
|
|
install:
|
|
# Install Roswell
|
|
- curl -L https://raw.githubusercontent.com/snmsts/roswell/master/scripts/install-for-ci.sh | sh
|
|
|
|
before_script:
|
|
- git clone https://github.com/fukamachi/clack ~/lisp/clack
|
|
- git clone https://github.com/fukamachi/cl-coveralls $TRAVIS_BUILD_DIR/quicklisp/local-projects/cl-coveralls
|
|
|
|
script:
|
|
- ros -s prove -s cl-coveralls
|
|
-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))'
|