mirror of
https://github.com/vale981/lack
synced 2025-03-06 01:41:39 -05:00
34 lines
1.5 KiB
YAML
34 lines
1.5 KiB
YAML
language: common-lisp
|
|
|
|
env:
|
|
matrix:
|
|
- LISP=sbcl COVERALLS=true
|
|
- LISP=ccl
|
|
|
|
install:
|
|
# Install cl-travis
|
|
- curl https://raw.githubusercontent.com/luismbo/cl-travis/master/install.sh | bash
|
|
|
|
before_script:
|
|
- git clone https://github.com/fukamachi/fast-http ~/lisp/fast-http
|
|
- git clone https://github.com/fukamachi/quri ~/lisp/quri
|
|
- git clone https://github.com/fukamachi/cl-cookie ~/lisp/cl-cookie
|
|
- git clone https://github.com/fukamachi/dexador ~/lisp/dexador
|
|
- git clone https://github.com/fukamachi/http-body ~/lisp/http-body
|
|
- git clone https://github.com/fukamachi/cl-coveralls ~/lisp/cl-coveralls
|
|
|
|
script:
|
|
- cl -l prove -l cl-coveralls
|
|
-e '(or (coveralls:with-coveralls
|
|
(loop for file in (uiop:directory-files (uiop:getenv "TRAVIS_BUILD_DIR"))
|
|
when (and (string= (pathname-type file) "asd")
|
|
(<= 4 (length (pathname-name file)))
|
|
(string= (pathname-name file) "lack" :end1 4))
|
|
do (asdf:load-system (pathname-name file))
|
|
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 #'null (mapcar #'prove:run test-files))))))
|
|
(uiop:quit -1))'
|