forked from ceramic/ceramic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (49 loc) · 1.77 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
54
55
56
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:
- xvfb
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/electron-tools ~/lisp/electron-tools
- git clone https://github.com/ceramic/copy-directory ~/lisp/copy-directory
- git clone https://github.com/ceramic/remote-js ~/lisp/remote-js
- git clone https://github.com/ceramic/trivial-ws ~/lisp/trivial-ws
- git clone https://github.com/ceramic/trivial-compress ~/lisp/trivial-compress
- git clone https://github.com/eudoxia0/trivial-extract ~/lisp/trivial-extract
# 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 '(coveralls:with-coveralls (:exclude (list "src/error.lisp"
"src/os.lisp"
"src/file.lisp"
"src/quit.lisp"
"t"))
(ceramic-test:run-tests))'
notifications:
email: