-
Notifications
You must be signed in to change notification settings - Fork 19
/
.travis.yml
36 lines (31 loc) · 1.08 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
language: common-lisp
addons:
postgresql: "9.1"
env:
matrix:
- LISP=sbcl
install:
# Install cl-travis
- curl https://raw.githubusercontent.com/luismbo/cl-travis/master/install.sh | bash
# Install the latest versions of the major dependencies
- git clone https://github.com/fukamachi/sxql.git quicklisp/local-projects/sxql
- git clone https://github.com/fukamachi/cl-dbi.git quicklisp/local-projects/cl-dbi
# Update package repos
- sudo apt-get update
# Install SQLite
- sudo apt-get install -y sqlite3
# Set up Postgres
- sudo -u postgres createdb crane_test_db
- sudo -u postgres psql -c "CREATE USER crane_test_user WITH PASSWORD 'crane_test_user'"
- sudo -u postgres psql -c "GRANT ALL PRIVILEGES ON DATABASE crane_test_db TO crane_test_user"
script:
- cl -e '(ql:quickload :fiveam)'
-e '(setf fiveam:*debug-on-error* t)'
-e '(setf *debugger-hook*
(lambda (c h)
(declare (ignore c h))
(uiop:quit -1)))'
-e '(ql:quickload :crane-test)'
notifications:
email: