From: Olof-Joachim Frahm Date: Mon, 5 Jan 2015 23:25:37 +0000 (+0000) Subject: Add Travis CI configuration. X-Git-Tag: 1.0.1~3 X-Git-Url: http://repo.macrolet.net/gitweb/?p=cl-mock.git;a=commitdiff_plain;h=05e2dace8520a87cc9c19df385eba79cf4cb3ad4 Add Travis CI configuration. --- diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..12f7473 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,37 @@ +language: lisp + +env: + matrix: + - LISP=abcl + - LISP=allegro + - LISP=sbcl + - LISP=sbcl32 + - LISP=ccl + - LISP=ccl32 + - LISP=clisp + - LISP=clisp32 + - LISP=cmucl + - LISP=ecl + +matrix: + allow_failures: + # CIM not available for CMUCL + - env: LISP=cmucl + # optima fails for ecl + - env: LISP=ecl + +install: + - curl https://raw.githubusercontent.com/luismbo/cl-travis/master/install.sh | sh + +script: + # work around fiveam + - cl -e '(ql:quickload :cl-mock-tests-basic) + (unless (let ((results (fiveam:run (find-symbol "CL-MOCK" "CL-MOCK-TESTS")))) + (fiveam:explain! results) + (notany (function fiveam::test-failure-p) results)) + (uiop:quit 1))' + - cl -e '(ql:quickload :cl-mock-tests) + (unless (let ((results (fiveam:run (find-symbol "CL-MOCK" "CL-MOCK-TESTS")))) + (fiveam:explain! results) + (notany (function fiveam::test-failure-p) results)) + (uiop:quit 1))' diff --git a/README.md b/README.md index 718ee99..65776aa 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ Working, but unfinished. Should be portable. +[![Build Status](https://travis-ci.org/Ferada/cl-mock.svg?branch=master)](https://travis-ci.org/Ferada/cl-mock) + # INTRODUCTION