forked from postgis/docker-postgis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (33 loc) · 863 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
---
language: bash
services: docker
dist: xenial
env:
- VERSION=12-master
- VERSION=12-3.0
- VERSION=12-3.0 VARIANT=alpine
- VERSION=12-2.5
- VERSION=12-2.5 VARIANT=alpine
- VERSION=11-3.0
- VERSION=11-3.0 VARIANT=alpine
- VERSION=11-2.5
- VERSION=11-2.5 VARIANT=alpine
- VERSION=10-3.0
- VERSION=10-3.0 VARIANT=alpine
- VERSION=10-2.5
- VERSION=10-2.5 VARIANT=alpine
- VERSION=9.6-3.0
- VERSION=9.6-3.0 VARIANT=alpine
- VERSION=9.6-2.5
- VERSION=9.6-2.5 VARIANT=alpine
- VERSION=9.5-3.0
- VERSION=9.5-3.0 VARIANT=alpine
- VERSION=9.5-2.5
- VERSION=9.5-2.5 VARIANT=alpine
script:
- if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_BRANCH" == "master" ]]; then
echo "$DOCKERHUB_ACCESS_TOKEN" | docker login -u $DOCKERHUB_USERNAME --password-stdin &&
make push ;
else
make test ;
fi