diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a3099b1084..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,47 +0,0 @@ -language: node_js -dist: bionic -sudo: false -node_js: - - "10" -services: - - postgresql -addons: - postgresql: "9.5" - apt: - packages: - - lua5.1 - - libxml2-utils - - python3-pip - - python3-setuptools - - python-yaml - - postgresql-9.5-postgis-2.4 - - osm2pgsql -env: - - CARTO=1.2.0 MAPNIK='3.0.22' -install: - - npm install carto@$CARTO - - pip3 install --user colormath - - mkdir -p data/simplified-water-polygons-split-3857 data/ne_110m_admin_0_boundary_lines_land data/water-polygons-split-3857 - - touch data/simplified-water-polygons-split-3857/simplified_water_polygons.shp data/ne_110m_admin_0_boundary_lines_land/ne_110m_admin_0_boundary_lines_land.shp data/water-polygons-split-3857/water_polygons.shp - - createdb -w -E utf8 -U postgres gis && psql -Xq -d gis -U postgres -w -c "CREATE EXTENSION postgis; CREATE EXTENSION hstore;" -script: - # We're using pipes in the checks, so fail if any part fails - - set -o pipefail - # Check all tye YAML files are valid YAML - - find . -not \( -path ./node_modules -prune \) \( -type f -name '*.yaml' -o -name '*.yml' -o -name '*.mml' \) - -exec python -c "from yaml import safe_load; safe_load(file('{}'))" \; - # Validate the MML against multiple Mapnik versions, and report its lines for debugging purposes - - for m in $MAPNIK; do ./node_modules/carto/bin/carto -a $m project.mml | xmllint - | wc -l; done - # Validate that the SVGs are valid XML - - find symbols/ -name '*.svg' | xargs xmllint --noout - # Check the Lua transforms - - lua scripts/lua/test.lua - # Check the indexes and road colours files are up to date - - diff -qu <(scripts/indexes.py) indexes.sql - - diff -qu <(scripts/generate_road_colours.py) style/road-colors-generated.mss - # Create the PostgreSQL tables - - osm2pgsql -G --hstore --style openstreetmap-carto.style --tag-transform-script openstreetmap-carto.lua -U postgres -d gis -r xml <(echo '') - # Apply the custom indexes - - psql -1Xq -v ON_ERROR_STOP=1 -d gis -f indexes.sql - # Test for classes in project.mml (not supported in vector tiles) - - '! grep "class:" project.mml > /dev/null' diff --git a/README.md b/README.md index 9bdeb7ef4a..6dac60e95b 100644 --- a/README.md +++ b/README.md @@ -70,9 +70,7 @@ to reload their databases, v3.x compatibility is not maintained. ## Database schema change (v5.x) -The v5.x series includes update Lua tag transforms. -Linestring and polygon decisions have changed and a database reload is -required for this update. +The v5.x series updates Lua tag transforms, linestring and polygon decisions have changed. ## Mapnik and CartoCSS update (v6.x)