Commit 6e97a752 authored by Tino Goratsch's avatar Tino Goratsch

next try...

parent 18efcbca
......@@ -23,7 +23,7 @@ before_install:
- echo -e "machine github.com\n\tlogin ${ACP3_CI_USER_GH_TOKEN}" >> ~/.netrc
before_script:
- ./build/travis/before_script.sh ${ACP3_CI_USER_GH_TOKEN}
- ./build/travis/before_script.sh ${ACP3_CI_USER_GH_TOKEN} ${TRAVIS_PHP_VERSION}
script:
- ./build/travis/run_unit_tests.sh ${TRAVIS_PHP_VERSION}
......
#!/bin/bash
ACP3_CI_USER_GH_TOKEN=$1;
TRAVIS_PHP_VERSION=$2;
if [[ ${TRAVIS_PHP_VERSION} = "7.0" || ${TRAVIS_PHP_VERSION} != "7.1" ]]
then
phpenv config-rm xdebug.ini
fi
if [[ -n ${ACP3_CI_USER_GH_TOKEN} ]]
then
......
......@@ -2,7 +2,7 @@
TRAVIS_PHP_VERSION=$1
if [[ ${TRAVIS_PHP_VERSION} != "hhvm" && ${TRAVIS_PHP_VERSION} != "nightly" ]]
if [[ ${TRAVIS_PHP_VERSION} != "nightly" ]]
then
php vendor/bin/coveralls -v
fi
......@@ -2,12 +2,11 @@
TRAVIS_PHP_VERSION=$1
if [[ ${TRAVIS_PHP_VERSION} = "5.6" ]]
if [[ ${TRAVIS_PHP_VERSION} = "5.6" || ${TRAVIS_PHP_VERSION} = "hhvm" ]]
then
php ./vendor/bin/phpunit -c ./tests/phpunit.dist.xml --coverage-clover ./build/logs/clover.xml
elif [[ ${TRAVIS_PHP_VERSION} != "hhvm" && ${TRAVIS_PHP_VERSION} != "nightly" ]]
elif [[ ${TRAVIS_PHP_VERSION} != "nightly" ]]
then
phpenv config-rm xdebug.ini
phpdbg -qrr ./vendor/bin/phpunit -c ./tests/phpunit.dist.xml --coverage-clover ./build/logs/clover.xml
else
php ./vendor/bin/phpunit -c ./tests/phpunit.dist.xml
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment