X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/6ed6a0d447c3f602763c8c742834539dd9c72145..38c21de0ee17bb0eacd6cc8f0e1ed71cbee0b0c9:/.travis.yml?ds=sidebyside diff --git a/.travis.yml b/.travis.yml index 0ee38592..dd973aec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ --- -sudo: required +os: linux dist: xenial language: python python: @@ -25,7 +25,7 @@ script: - cd $TRAVIS_BUILD_DIR/ - if [[ $TEST_SUITE == "tests" ]]; then phpcs --report-width=120 . ; fi - cd $TRAVIS_BUILD_DIR/test/php - - if [[ $TEST_SUITE == "tests" ]]; then /usr/bin/phpunit ./ ; fi + - if [[ $TEST_SUITE == "tests" ]]; then UNIT_TEST_DSN='pgsql:dbname=nominatim_unit_tests' /usr/bin/phpunit ./ ; fi - cd $TRAVIS_BUILD_DIR/test/bdd - # behave --format=progress3 api - if [[ $TEST_SUITE == "tests" ]]; then behave -DREMOVE_TEMPLATE=1 --format=progress3 db ; fi