travis build stages 2

This commit is contained in:
Simon Martín 2018-04-24 17:49:38 +02:00
parent 09d937f533
commit db4c3b70bb

View File

@ -1,18 +1,27 @@
sudo: required
dist: xenial
services:
- docker
before_install:
- docker pull cartoimages/engine-xenial-pg101
- docker pull cartoimages/engine-xenial-pg95
jobs: jobs:
include: include:
- stage: xenial and Postgres 10.1 - stage: xenial and Postgres 10.1
script: docker run -e POSTGIS_VERSION=2.4 -v `pwd`:/srv cartoimages/engine-xenial-pg101 bash run_tests_docker.sh sudo: required
- stage: xenial and Postgres 9.5 dist: xenial
script: docker run -e POSTGIS_VERSION=2.4 -v `pwd`:/srv cartoimages/engine-xenial-pg95 bash run_tests_docker.sh language: generic
language: generic services:
- docker
before_install:
- docker pull cartoimages/engine-xenial-pg101
script: docker run -e POSTGIS_VERSION=2.4 -v `pwd`:/srv cartoimages/engine-xenial-pg101 bash run_tests_docker.sh
- stage: xenial and Postgres 9.5
sudo: required
dist: xenial
language: generic
services:
- docker
before_install:
- docker pull cartoimages/engine-xenial-pg95
script: docker run -e POSTGIS_VERSION=2.4 -v `pwd`:/srv cartoimages/engine-xenial-pg95 bash run_tests_docker.sh