X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/89a888de768cc0f4fc6df3f30f00fafb5c09d268..626e3238f27d972614ad3c0e978605facf0f9bd2:/.travis.yml diff --git a/.travis.yml b/.travis.yml index fe4e0cbd..259b9d5b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,8 @@ git: env: - TEST_SUITE=tests - TEST_SUITE=monaco +before_install: + - phpenv global 7.1 install: - vagrant/install-on-travis-ci.sh before_script: @@ -19,7 +21,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 phpunit ./ ; fi + - if [[ $TEST_SUITE == "tests" ]]; then /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