lack/.travis.yml

35 lines
1.5 KiB
YAML
Raw Normal View History

2015-03-07 04:28:37 +09:00
language: common-lisp
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:
# Install cl-travis
- curl https://raw.githubusercontent.com/luismbo/cl-travis/master/install.sh | bash
2015-03-07 04:29:29 +09:00
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
2015-03-07 04:29:29 +09:00
- git clone https://github.com/fukamachi/dexador ~/lisp/dexador
2015-03-12 21:31:12 +09:00
- git clone https://github.com/fukamachi/http-body ~/lisp/http-body
2015-03-19 10:20:32 +09:00
- git clone https://github.com/fukamachi/cl-coveralls ~/lisp/cl-coveralls
2015-03-07 04:29:29 +09:00
2015-03-07 04:28:37 +09:00
script:
2015-03-19 10:20:32 +09:00
- 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")
2015-03-21 02:08:56 +09:00
(<= 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))))))
2015-03-19 10:20:32 +09:00
(uiop:quit -1))'