]> git.openstreetmap.org Git - nominatim.git/blob - .travis.yml
Merge remote-tracking branch 'upstream/master' into cmake-port
[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 --verbosity=1
21   - lettuce features/db --verbosity=1 -t -Fail -t -Tiger -t -poldi-only
22   - lettuce features/osm2pgsql --verbosity=1 -t -Fail
23 notifications:
24   email: false