From 515146bf285d40dffeae54592f504be6a817ba8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Mon, 16 Oct 2017 13:12:06 +0200 Subject: [PATCH] Configure travis to export environment variable (POSTGIS_VERSION) --- .travis.yml | 3 +++ docker-test.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b946378f..9ac20ae7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,5 +10,8 @@ before_install: script: - docker run -v `pwd`:/srv cartoimages/windshaft-carto-testing +after_success: + - export POSTGIS_VERSION=2.4 + language: generic diff --git a/docker-test.sh b/docker-test.sh index 6bf5360e..8cc8c093 100644 --- a/docker-test.sh +++ b/docker-test.sh @@ -8,4 +8,4 @@ yarn createdb template_postgis && createuser publicuser psql -c "CREATE EXTENSION postgis" template_postgis -npm test \ No newline at end of file +POSTGIS_VERSION=2.4 npm test \ No newline at end of file