Commit 8ac50be3 authored by tinogo's avatar tinogo

follow up improvements

parent beccb979
......@@ -18,19 +18,19 @@ matrix:
addons:
code_climate:
repo_token: $CC_REPO_TOKEN
repo_token: ${CC_REPO_TOKEN}
before_install:
- echo -e "machine github.com\n\tlogin $ACP3_CI_USER_GH_TOKEN" >> ~/.netrc
- 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}
script:
- ./build/travis/run_unit_tests.sh $TRAVIS_PHP_VERSION
- ./build/travis/run_unit_tests.sh ${TRAVIS_PHP_VERSION}
after_success:
- ./build/travis/push_code_coverage.sh $TRAVIS_PHP_VERSION
- ./build/travis/push_code_coverage.sh ${TRAVIS_PHP_VERSION}
deploy:
provider: script
......
......@@ -2,7 +2,8 @@
ACP3_CI_USER_GH_TOKEN=$1;
if [ -n "$ACP3_CI_USER_GH_TOKEN" ]; then
if [ -n ${ACP3_CI_USER_GH_TOKEN} ]
then
composer config github-oauth.github.com ${ACP3_CI_USER_GH_TOKEN}
fi
composer install --prefer-dist --ignore-platform-reqs -n -o
......
......@@ -2,6 +2,7 @@
TRAVIS_PHP_VERSION=$1
if [ "$TRAVIS_PHP_VERSION" != "hhvm" && "$TRAVIS_PHP_VERSION" != "7.1" && "$TRAVIS_PHP_VERSION" != "nightly" ]; then
if [ ${TRAVIS_PHP_VERSION} != "hhvm" && ${TRAVIS_PHP_VERSION} != "7.1" && ${TRAVIS_PHP_VERSION} != "nightly" ]
then
travis_retry php vendor/bin/coveralls -v
fi
......@@ -2,7 +2,8 @@
TRAVIS_PHP_VERSION=$1
if [ "$TRAVIS_PHP_VERSION" != "hhvm" && "$TRAVIS_PHP_VERSION" != "7.1" && "$TRAVIS_PHP_VERSION" != "nightly" ]; then
if [ ${TRAVIS_PHP_VERSION} != "hhvm" && ${TRAVIS_PHP_VERSION} != "7.1" && ${TRAVIS_PHP_VERSION} != "nightly" ]
then
php ./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