From bf6c85c52c2d397f27c3a00dde985b6fbad83cde Mon Sep 17 00:00:00 2001 From: Fernando Borretti Date: Sat, 5 Sep 2015 16:28:48 -0300 Subject: [PATCH 1/4] Test on Travis using Roswell --- .travis.yml | 56 +++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 42 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index e8639fb..2bc8c02 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,13 +2,23 @@ language: common-lisp sudo: required env: + global: + - PATH=~/.roswell/bin:$PATH + - ROSWELL_BRANCH=master + - ROSWELL_INSTALL_DIR=$HOME/.roswell + - COVERAGE_EXCLUDE=t matrix: - - LISP=sbcl COVERALLS=true + - LISP=sbcl-bin COVERALLS=true + - LISP=ccl-bin + - LISP=abcl + - LISP=clisp + - LISP=ecl + - LISP=allegro + - LISP=cmucl install: - # Install cl-travis - - curl https://raw.githubusercontent.com/luismbo/cl-travis/master/install.sh | bash - # Coveralls support + # Roswell & coveralls + - curl -L https://raw.githubusercontent.com/snmsts/roswell/$ROSWELL_BRANCH/scripts/install-for-ci.sh | sh - git clone https://github.com/fukamachi/cl-coveralls ~/lisp/cl-coveralls # Clone some libraries - git clone https://github.com/CommonDoc/common-doc.git ~/lisp/common-doc @@ -21,17 +31,35 @@ install: - git clone https://github.com/mmontone/djula.git ~/lisp/djula - git clone https://github.com/eudoxia0/docparser.git ~/lisp/docparser +cache: + directories: + - $HOME/.roswell + - $HOME/.config/common-lisp + +before_script: + - ros --version + - ros config + +script: + - + - if [ "$LISP" = "sbcl-bin" ]; then + run-prove t-*.asd; + else + run-prove t-clack-handler-hunchentoot.asd; + fi + script: - - cl -l fiveam -l cl-coveralls - -e '(setf fiveam:*debug-on-error* t - fiveam:*debug-on-failure* t)' - -e '(setf *debugger-hook* - (lambda (c h) - (declare (ignore c h)) - (uiop:quit -1)))' - -e '(coveralls:with-coveralls (:exclude (list "t" "src/error.lisp")) - (ql:quickload :codex-templates) - (ql:quickload :codex-test))' + - ros -e '(ql:quickload (list :fiveam :cl-coveralls))' + -e '(setf fiveam:*debug-on-error* t + fiveam:*debug-on-failure* t)' + -e '(setf *debugger-hook* + (lambda (c h) + (declare (ignore c h)) + (uiop:quit -1)))' + -e '(coveralls:with-coveralls (:exclude (list "t" "src/error.lisp")) + (ql:quickload :codex-templates) + (ql:quickload :codex-test))' + -q notifications: email: From 10a4a8b95590966a24bf4ac8202c2c79f6b178a8 Mon Sep 17 00:00:00 2001 From: Fernando Borretti Date: Sat, 5 Sep 2015 16:29:16 -0300 Subject: [PATCH 2/4] Don't use sudo --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2bc8c02..b9dabb3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,4 @@ language: common-lisp -sudo: required env: global: From 288c36dbde75cce0b1d547ff4ba9a7e2f5dc7602 Mon Sep 17 00:00:00 2001 From: Fernando Borretti Date: Sat, 5 Sep 2015 16:33:47 -0300 Subject: [PATCH 3/4] Delete error --- .travis.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index b9dabb3..b798325 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,14 +39,6 @@ before_script: - ros --version - ros config -script: - - - - if [ "$LISP" = "sbcl-bin" ]; then - run-prove t-*.asd; - else - run-prove t-clack-handler-hunchentoot.asd; - fi - script: - ros -e '(ql:quickload (list :fiveam :cl-coveralls))' -e '(setf fiveam:*debug-on-error* t From c52adde88c857bc09cf4b28d8f09414aa3526c90 Mon Sep 17 00:00:00 2001 From: Fernando Borretti Date: Sat, 5 Sep 2015 16:40:50 -0300 Subject: [PATCH 4/4] Only test on SBCL --- .travis.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index b798325..bfb058f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,12 +8,6 @@ env: - COVERAGE_EXCLUDE=t matrix: - LISP=sbcl-bin COVERALLS=true - - LISP=ccl-bin - - LISP=abcl - - LISP=clisp - - LISP=ecl - - LISP=allegro - - LISP=cmucl install: # Roswell & coveralls