X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ad585771e7e049dbd1dbe9a952c068059e4134be..e164d53fcc6622212a59449e815a66fd89dd7b9f:/.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