X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=.travis.yml;h=1ff5d1272013e787cac548fa35a3d49701bcf5d7;hb=37782a719db2fbe02fe3462edcb06e89f6d58aac;hp=94eef7b19c845cd9d3c3aadb3ca37a6537c40c52;hpb=78ed1f631cf0a88feefe0f5f705a60dfbe1141d0;p=plcapi.git diff --git a/.travis.yml b/.travis.yml index 94eef7b..1ff5d12 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,10 @@ php: - 5.5 - 5.6 - 7.0 - - hhvm + - 7.1 + - 7.2 + # hhvm is not available any more on default travis images + #- hhvm before_install: # This is mandatory or the 'apt-get install' calls following will fail @@ -28,17 +31,20 @@ before_script: - if [ "$TRAVIS_PHP_VERSION" = "hhvm" ]; then ./tests/ci/travis/setup_hhvm.sh; ./tests/ci/travis/setup_apache_hhvm.sh; fi - ./tests/ci/travis/setup_privoxy.sh + # output what version of phpunit we got going + - vendor/bin/phpunit --version + script: # Travis currently compiles PHP with an oldish cURL/GnuTLS combination; # to make the tests pass when Apache has a bogus SSL cert whe need the full set of options below - phpunit --coverage-clover=coverage.clover tests LOCALSERVER=localhost URI=/demo/server/server.php HTTPSSERVER=localhost HTTPSURI=/demo/server/server.php PROXY=localhost:8080 HTTPSVERIFYHOST=0 HTTPSIGNOREPEER=1 SSLVERSION=3 DEBUG=1 + vendor/bin/phpunit --coverage-clover=coverage.clover tests LOCALSERVER=localhost URI=/demo/server/server.php HTTPSSERVER=localhost HTTPSURI=/demo/server/server.php PROXY=localhost:8080 HTTPSVERIFYHOST=0 HTTPSIGNOREPEER=1 SSLVERSION=3 DEBUG=1 after_failure: # Save as much info as we can to help developers - cat apache_error.log - cat apache_access.log - - cat /var/log/hhvm/error.log - - php -i + #- cat /var/log/hhvm/error.log + #- if [ "$TRAVIS_PHP_VERSION" = "hhvm" ]; then php -i; fi after_script: # Upload code-coverage to Scrutinizer