2015-10-13 07:26:02 +00:00
|
|
|
sudo: required
|
2016-06-14 12:06:34 +00:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "3.4"
|
2015-10-13 07:26:02 +00:00
|
|
|
services:
|
|
|
|
- docker
|
2015-10-15 12:12:17 +00:00
|
|
|
before_install:
|
2016-06-14 12:06:34 +00:00
|
|
|
- wget -nc -P "$TRAVIS_BUILD_DIR/import" "http://download.geofabrik.de/europe/albania-160601.osm.pbf"
|
2016-08-05 12:10:24 +00:00
|
|
|
- wget -nc -O "$TRAVIS_BUILD_DIR/export/planet.mbtiles" "https://osm2vectortiles-downloads.os.zhdk.cloud.switch.ch/v2.0/planet_2016-06-20_7088ce06a738dcb3104c769adc11ac2c_z0-z5.mbtiles"
|
2016-06-15 12:34:49 +00:00
|
|
|
- docker-compose pull import-external export import-osm postgis rabbitmq merge-jobs
|
2016-04-23 17:32:45 +00:00
|
|
|
# Avoid building really expensive images
|
|
|
|
- make fast
|
2016-06-14 12:06:34 +00:00
|
|
|
install: "pip install -r ./tools/integration-test/requirements.txt"
|
2015-10-27 08:36:18 +00:00
|
|
|
script:
|
2016-04-23 17:32:45 +00:00
|
|
|
# Test import
|
2016-06-14 18:01:22 +00:00
|
|
|
- py.test -xv ./tools/integration-test/integration_test.py
|