kopia lustrzana https://github.com/osm2vectortiles/osm2vectortiles
17 wiersze
631 B
YAML
17 wiersze
631 B
YAML
sudo: required
|
|
language: python
|
|
python:
|
|
- "3.4"
|
|
services:
|
|
- docker
|
|
before_install:
|
|
- wget -nc -P "$TRAVIS_BUILD_DIR/import" "http://download.geofabrik.de/europe/albania-160601.osm.pbf"
|
|
- wget -nc -O "$TRAVIS_BUILD_DIR/export/planet.mbtiles" "https://osm2vectortiles-downloads.os.zhdk.cloud.switch.ch/v2.0/planet_z0-z5.mbtiles"
|
|
- docker-compose pull import-external export import-osm postgis rabbitmq merge-jobs
|
|
# Avoid building really expensive images
|
|
- make fast
|
|
install: "pip install -r ./tools/integration-test/requirements.txt"
|
|
script:
|
|
# Test import
|
|
- py.test -xv ./tools/integration-test/integration_test.py
|