Skip to content

Commit

Permalink
Add TravisCI config file
Browse files Browse the repository at this point in the history
  • Loading branch information
sionescu committed Jul 21, 2015
1 parent e532b8d commit 4544900
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
language: lisp

env:
matrix:
- LISP=ccl
- LISP=sbcl
# - LISP=abcl # Need to have cl-travis install JNA
- LISP=cmucl
- LISP=ecl

matrix:
allow_failures:
- env: LISP=cmucl
- env: LISP=ecl

notifications:
email:
on_success: change
on_failure: always
irc:
channels:
- "chat.freenode.net#iolib"
on_success: change
on_failure: always
use_notice: true
skip_join: true

install:
- if [ "$LISP" = "allegro" ]; then sudo apt-get install libc6-dev-i386 libffi-dev:i386; fi
- sudo ./install-repo.bash
- curl -L https://github.com/luismbo/cl-travis/raw/master/install.sh | sh
- cl -e "(cl:in-package :cl-user)
(dolist (p '(:trivial-features :cffi :split-sequence :idna
:bordeaux-threads :swap-bytes :fiveam))
(ql:quickload p :verbose t))"

script:
- cl -e "(cl:in-package :cl-user)
(ql:quickload :iolib/tests :verbose t)
(uiop:quit (if (some (lambda (x) (typep x '5am::test-failure))
(5am:run :iolib))
1 0))"
16 changes: 16 additions & 0 deletions install-repo.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

cat >> /etc/apt/sources.list <<EOF
deb http://download.opensuse.org/repositories/home:/sionescu/Ubuntu_Precise/ ./
EOF

cat >> /etc/apt/preferences <<EOF
Package: libfixposix*
Pin: origin download.opensuse.org
Pin-Priority: 1001
EOF

apt-get update

apt-get -y --force-yes install libfixposix2 libfixposix-dev

0 comments on commit 4544900

Please sign in to comment.