Commit b15e2f26 authored by Luís Oliveira's avatar Luís Oliveira
Browse files

Add Travis CI setup

parent ea4c3631
Loading
Loading
Loading
Loading

.travis.yml

0 → 100644
+27 −0
Original line number Diff line number Diff line
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:
#     - env: LISP=ecl

install:
  - curl -L https://github.com/luismbo/cl-travis/raw/master/install.sh | sh

script:
  - cl -e '(ql:quickload :cffi-grovel)
           (ql:quickload :osicat-tests)
           (unless (osicat-tests:run)
             (uiop:quit 1))'
+2 −0
Original line number Diff line number Diff line
[![Build Status](https://travis-ci.org/osicat/osicat.svg?branch=master)](https://travis-ci.org/osicat/osicat)

Osicat is a lightweight operating system interface for Common Lisp
on Unix-platforms. It is not a POSIX-style API, but rather a simple
lispy accompaniment to the standard ANSI facilities.
+1 −1
Original line number Diff line number Diff line
@@ -38,4 +38,4 @@
     (:file "osicat")))))

(defmethod perform ((o test-op) (c (eql (find-system 'osicat-tests))))
  (funcall (intern (string '#:do-tests) '#:osicat-tests)))
  (funcall (intern (string '#:run) '#:osicat-tests)))
+7 −1
Original line number Diff line number Diff line
@@ -28,10 +28,16 @@

(defpackage #:osicat-tests
  (:use #:common-lisp #:rtest #:osicat)
  (:export #:do-tests))
  (:export #:run))

(in-package #:osicat-tests)

(defun run ()
  (let ((*package* (find-package :osicat-tests)))
    (do-tests)
    (null (set-difference (rtest:pending-tests)
                          rtest::*expected-failures*))))

;;; Utilities

(defvar *test-directory*