-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
39 lines (33 loc) · 1.04 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
language: java
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
os: linux
dist: xenial
jdk: openjdk11
services:
- postgresql
- redis
addons:
postgresql: "9.6"
apt:
packages:
- postgresql-9.6-postgis-2.4
before-install:
- psql -c 'CREATE DATABASE draft;' -U postgres
- psql -c "CREATE USER draft PASSWORD 'draft-pw';"
- psql -d draft -c 'CREATE EXTENSION postgis;' -U postgres
- psql -d draft -c 'CREATE EXTENSION postgis_topology;' -U postgres
- psql -d draft -c 'CREATE EXTENSION postgis_sfcgal;' -U postgres
- psql -d draft -c 'CREATE EXTENSION fuzzystrmatch;' -U postgres
- psql -d draft -c 'CREATE EXTENSION address_standardizer;' -U postgres
- psql -d draft -c 'CREATE EXTENSION address_standardizer_data_us;' -U postgres
- psql -d draft -c 'CREATE EXTENSION postgis_tiger_geocoder;' -U postgres
install:
- ./gradlew assemble
script:
- ./gradlew clean build