forked from dimitri/pgloader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
24 lines (24 loc) · 1.11 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
language: common-lisp
install:
- wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
- 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 DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" dist-upgrade
- wget http://pgsql.tapoueh.org/sbcl/sbcl_1.2.0-1_amd64.deb
- sudo dpkg -i sbcl_1.2.0-1_amd64.deb
- sudo apt-get install -f
- sudo apt-get install sbcl unzip libsqlite3-dev gawk freetds-dev
- sudo apt-get install 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:
- dim@tapoueh.org