X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/c5e792def965b0f4dccd42c80e0901a5a8f4d19b..4b5e464e12473a7d06ab1ecaed8c507350959ee4:/.travis.yml diff --git a/.travis.yml b/.travis.yml index b9adc069..259b9d5b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ --- sudo: required -dist: trusty +dist: xenial language: python python: - "3.6" @@ -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