forked from postgis/postgis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (31 loc) · 926 Bytes
/
.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
services:
- docker
sudo: true
language: c
env:
- tag=latest
- tag=pg11-geos37-gdal23-proj52
- tag=pg10-geos36-gdal23-proj49
- tag=pg96-geos36-gdal22-proj49
- tag=pg95-geos35-gdal111-proj48
matrix:
allow_failures:
- env: tag=latest
script:
- echo "/tmp/logbt-coredumps/core.%p.%E" | sudo tee /proc/sys/kernel/core_pattern
- echo "FROM postgis/postgis-build-env:${tag}" > Dockerfile
- echo "ADD --chown=postgres:postgres . /src/postgis" >> Dockerfile
- echo "CMD bash ci/travis/run_tests.sh && bash .github/codecov.bash" >> Dockerfile
- docker build -t pgtest .
- ci_env=`bash .github/codecov_env.bash`
- docker run $ci_env --name pgtest-${TRAVIS_BUILD_NUMBER} pgtest
after_success:
- docker rm pgtest-${TRAVIS_BUILD_NUMBER}
notifications:
email: false
irc:
channels:
- "irc.freenode.org#postgis-activity"
on_success: change
on_failure: always
use_notice: false