kopia lustrzana https://github.com/osm2vectortiles/osm2vectortiles
Ensure older Docker Compose version works
rodzic
6dbd02b2a6
commit
d6da42c012
|
@ -13,4 +13,4 @@ before_install:
|
|||
install: "pip install -r ./tools/integration-test/requirements.txt"
|
||||
script:
|
||||
# Test import
|
||||
- py.test -x ./tools/integration-test/integration_test.py
|
||||
- py.test -xv ./tools/integration-test/integration_test.py
|
||||
|
|
|
@ -22,14 +22,14 @@ function main() {
|
|||
fi
|
||||
|
||||
# Generate patch sources first but do not upload them
|
||||
python create_extracts.py zoom-level "$WORLD_MBTILES" \
|
||||
python -u create_extracts.py zoom-level "$WORLD_MBTILES" \
|
||||
--max-zoom=5 --target-dir="$EXTRACT_DIR"
|
||||
python create_extracts.py zoom-level "$WORLD_MBTILES" \
|
||||
python -u create_extracts.py zoom-level "$WORLD_MBTILES" \
|
||||
--max-zoom=8 --target-dir="$EXTRACT_DIR"
|
||||
|
||||
python create_extracts.py bbox "$WORLD_MBTILES" "$CITIES_TSV" \
|
||||
python -u create_extracts.py bbox "$WORLD_MBTILES" "$CITIES_TSV" \
|
||||
--patch-from="$PATCH_SRC" --target-dir="$EXTRACT_DIR" $upload_flag
|
||||
python create_extracts.py bbox "$WORLD_MBTILES" "$COUNTRIES_TSV" \
|
||||
python -u create_extracts.py bbox "$WORLD_MBTILES" "$COUNTRIES_TSV" \
|
||||
--patch-from="$PATCH_SRC" --target-dir="$EXTRACT_DIR" $upload_flag
|
||||
}
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ class DockerCompose(object):
|
|||
|
||||
def remove_all(self):
|
||||
self.compose(['stop'])
|
||||
self.compose(['rm', '-v', '--all', '--force'])
|
||||
self.compose(['rm', '-v', '--force'])
|
||||
|
||||
|
||||
@pytest.mark.run(order=1)
|
||||
|
|
Ładowanie…
Reference in New Issue