diff --git a/.travis.yml b/.travis.yml index 62ec3ee0c3..07b0ef8eeb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,11 +8,16 @@ addons: - python-yaml node_js: - "0.10" +env: +- CARTO=0.9.5 MAPNIK=2.1.0 +- CARTO=0.9.5 MAPNIK=3.0.0 +- CARTO=0.16.3 MAPNIK=2.1.0 +- CARTO=0.16.3 MAPNIK=3.0.0 install: - - npm install carto@0.12.1 + - npm install carto@$CARTO - mkdir -p data/world_boundaries data/simplified-land-polygons-complete-3857 data/ne_110m_admin_0_boundary_lines_land data/ne_10m_populated_places data/land-polygons-split-3857 - touch data/world_boundaries/builtup_area.shp data/simplified-land-polygons-complete-3857/simplified_land_polygons.shp data/ne_110m_admin_0_boundary_lines_land/ne_110m_admin_0_boundary_lines_land.shp data/ne_10m_populated_places/ne_10m_populated_places_fixed.shp data/land-polygons-split-3857/land_polygons.shp script: - jsonlint project.mml - - set -o pipefail && ./node_modules/carto/bin/carto project.mml | xmllint - | wc -l + - set -o pipefail && ./node_modules/carto/bin/carto -a $MAPNIK project.mml | xmllint - | wc -l - ./scripts/travis_check_project_files