Configure travis to export environment variable (POSTGIS_VERSION)

This commit is contained in:
Daniel García Aubert
2017-10-16 13:12:06 +02:00
parent a1c08f9bf7
commit 515146bf28
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -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
+1 -1
View File
@@ -8,4 +8,4 @@ yarn
createdb template_postgis && createuser publicuser
psql -c "CREATE EXTENSION postgis" template_postgis
npm test
POSTGIS_VERSION=2.4 npm test