forked from dimitri/pgloader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
20 lines (20 loc) · 874 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
language: common-lisp
install:
- sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net --recv-keys ACCC4CF8
- echo "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list
- sudo apt-get update
- sudo apt-get install -y cl-asdf sbcl unzip libsqlite3-dev gawk freetds-dev
- sudo apt-get install -y postgresql-9.1-ip4r
before_script:
- sudo -u postgres createuser -S -R -D -E -l pgloader
- sudo -u postgres createdb -E UTF8 -O pgloader -hlocalhost pgloader
- sudo -u postgres psql -h localhost -d pgloader -c "create extension ip4r;"
- PGUSER=pgloader psql -h localhost -d pgloader -c "create schema expected;"
- PGUSER=pgloader psql -h localhost -d pgloader -c "create schema err;"
- make --version
- make
script:
- PGUSER=pgloader make check
notifications:
email: