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 @@
jobs:
include:
- stage: xenial and Postgres 10.1
sudo: required sudo: required
dist: xenial dist: xenial
language: generic
services: services:
- docker - docker
before_install: before_install:
- docker pull cartoimages/engine-xenial-pg101 - 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 - docker pull cartoimages/engine-xenial-pg95
jobs:
include:
- 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
- stage: xenial and Postgres 9.5
script: docker run -e POSTGIS_VERSION=2.4 -v `pwd`:/srv cartoimages/engine-xenial-pg95 bash run_tests_docker.sh script: docker run -e POSTGIS_VERSION=2.4 -v `pwd`:/srv cartoimages/engine-xenial-pg95 bash run_tests_docker.sh
language: generic