forked from locationtech/geogig
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
34 lines (34 loc) · 1.45 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
cache:
directories:
- "$HOME/.m2"
language: java
jdk:
- openjdk8
before_install:
install: ./mvnw -B --no-transfer-progress -U install -Dfmt.action=validate -DskipTests=true -Pexperimental
before_script:
# - psql -c 'create database geogig_tests;' -U postgres
# - psql -c "create extension postgis" -U postgres -d geogig_tests
# - psql -f geotools/commands/src/test/resources/features/online/geogig_pg_test.sql -U postgres -d geogig_tests
# - echo '[postgres]' > ~/.geogig-pg-backend-tests.properties
# - echo 'enabled = true' >> ~/.geogig-pg-backend-tests.properties
# - echo 'server = localhost' >> ~/.geogig-pg-backend-tests.properties
# - echo 'database = geogig_tests' >> ~/.geogig-pg-backend-tests.properties
# - echo 'user = postgres' >> ~/.geogig-pg-backend-tests.properties
# - echo 'password = ' >> ~/.geogig-pg-backend-tests.properties
# - echo '[database]' > ~/.geogig-pg-tests.properties
# - echo 'server = localhost' >> ~/.geogig-pg-tests.properties
# - echo 'database = geogig_tests' >> ~/.geogig-pg-tests.properties
# - echo 'user = postgres' >> ~/.geogig-pg-tests.properties
# - echo 'password = ' >> ~/.geogig-pg-tests.properties
script:
# - mvn -B --no-transfer-progress test -Dfmt.skip=true -Ppostgres,experimental,online
- ./mvnw -B --no-transfer-progress install -Dfmt.skip=true -Pexperimental
#services: postgresql
#addons:
# postgresql: "10"
# apt:
# packages:
# - postgresql-10-postgis-2.4
notifications:
email: false