martin/.travis.yml

27 lines
499 B
YAML
Raw Normal View History

2017-10-15 14:48:23 +03:00
language: rust
cache: cargo
2018-01-18 13:42:06 +03:00
branches:
except:
- /^v[0-9]/
services:
- postgresql
2018-01-18 13:59:02 +03:00
addons:
2018-01-18 14:23:04 +03:00
postgresql: 9.6
2018-01-18 13:59:02 +03:00
apt:
packages:
2018-01-18 14:23:04 +03:00
- postgresql-9.6-postgis-2.4
2018-01-18 13:59:02 +03:00
2018-01-18 13:42:06 +03:00
env:
- DATABASE_URL=postgres://postgres@localhost/test
before_script:
- psql -U postgres -c 'create database test'
- psql -U postgres -d test -c 'create extension postgis'
- psql -U postgres -d test -f fixtures/tilebbox.sql
- psql -U postgres -d test -f fixtures/points.sql
2017-10-15 14:48:23 +03:00
script:
- cargo test --verbose --all