]> git.openstreetmap.org Git - nominatim.git/blob - .travis.yml
b33ce6ecbe6b33ec486d9c066fa3110d3c248e4c
[nominatim.git] / .travis.yml
1 ---
2 language:
3   - 'python'
4 sudo: required
5 dist: trusty
6 before_install:
7   - git submodule update --init --recursive
8 install:
9   - vagrant/install-on-travis-ci.sh
10 before_script:
11   - cd $TRAVIS_BUILD_DIR/build
12   - wget --no-verbose --output-document=../data/monaco.osm.pbf http://download.geofabrik.de/europe/monaco-latest.osm.pbf
13   - ./utils/setup.php --osm-file ../data/monaco.osm.pbf --osm2pgsql-cache 1000 --all 2>&1 | grep -v 'ETA (seconds)'
14   - ./utils/specialphrases.php --countries > ../data/specialphrases_countries.sql
15   - psql -d nominatim -f ../data/specialphrases_countries.sql
16 script:
17   - cd $TRAVIS_BUILD_DIR/tests-php
18   - phpunit ./
19   - cd $TRAVIS_BUILD_DIR/tests
20   - #lettuce features/api
21   - lettuce features/db -t -Fail -t -RiverRhein -t -Tiger -t -poldi-only
22   - lettuce features/osm2pgsql
23 notifications:
24   email: false