forked from gravitystorm/openstreetmap-carto
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
23 lines (23 loc) · 961 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: node_js
cache: apt
node_js:
- "0.10"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y -q python-demjson python-yaml
install:
- npm install [email protected]
- mkdir -p data/world_boundaries
- mkdir -p data/simplified-land-polygons-complete-3857
- mkdir -p data/ne_110m_admin_0_boundary_lines_land
- mkdir -p data/ne_10m_populated_places
- mkdir -p data/land-polygons-split-3857
- touch data/world_boundaries/builtup_area.shp
- touch data/simplified-land-polygons-complete-3857/simplified_land_polygons.shp
- touch data/ne_110m_admin_0_boundary_lines_land/ne_110m_admin_0_boundary_lines_land.shp
- touch data/ne_10m_populated_places/ne_10m_populated_places_fixed.shp
- touch data/land-polygons-split-3857/land_polygons.shp
script:
- jsonlint project.mml
- ./node_modules/carto/bin/carto project.mml | xmllint - | wc -l
- scripts/yaml2mml.py < project.yaml > project.mml2 && diff project.mml project.mml2