forked from ceramic/ceramic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (46 loc) · 1.38 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
language: common-lisp
sudo: false
env:
global:
- PATH=~/.roswell/bin:$PATH
- ROSWELL_BRANCH=master
- ROSWELL_INSTALL_DIR=$HOME/.roswell
- COVERAGE_EXCLUDE=t
matrix:
- LISP=sbcl-bin COVERALLS=true
addons:
apt:
packages:
- xfvb
install:
# 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/ceramic/trivial-exe ~/lisp/trivial-exe
- git clone https://github.com/ceramic/trivial-build ~/lisp/trivial-build
# Set up a virtual X framebuffer
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3 # give xvfb time to start
cache:
directories:
- $HOME/.roswell
- $HOME/.config/common-lisp
before_script:
- ros --version
- ros config
script:
- ros -e '(ql:quickload (list :cl-coveralls :ceramic-test))'
-e '(setf fiveam:*debug-on-error* t
fiveam:*debug-on-failure* t)'
-e '(setf *debugger-hook*
(lambda (c h)
(declare (ignore h))
(print c)
(uiop:quit -1)))'
-e '(coveralls:with-coveralls (:exclude (list "src/error.lisp" "t"))
(ceramic-test:run-tests))'
notifications:
email:
- eudoxiahp@gmail.com