Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check range of supported Carto and Mapnik with Travis #2423

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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