Fix .travis.yml. $TRAVIS_BUILD_DIR may be a directory pathname without a slash at the last.

This commit is contained in:
Eitaro Fukamachi 2015-03-22 00:24:44 +09:00
parent ed95dbaed1
commit 932c74f104

View file

@ -20,7 +20,7 @@ before_script:
script:
- cl -l prove -l cl-coveralls
-e '(or (coveralls:with-coveralls
(loop for file in (uiop:directory-files (uiop:getenv "TRAVIS_BUILD_DIR"))
(loop for file in (uiop:directory-files (uiop:ensure-directory-pathname (uiop:getenv "TRAVIS_BUILD_DIR")))
when (and (string= (pathname-type file) "asd")
(<= 4 (length (pathname-name file)))
(string= (pathname-name file) "lack" :end1 4))