X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=.travis.yml;h=4ea3ac7ab2261e26e8e59d2cd3ebf97233c09acb;hb=afc87838628994edd839cc5f3b8b9236adb129d3;hp=f8ea715ffb5bc5bf7b03133356278d4243319a33;hpb=98de833d88ea107d2535f87575eb94518491695b;p=friendica.git diff --git a/.travis.yml b/.travis.yml index f8ea715ffb..4ea3ac7ab2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ services: - redis-server - memcached env: - - MYSQL_HOST=localhost MYSQL_PORT=3306 MYSQL_USERNAME=travis MYSQL_PASSWORD= MYSQL_DATABASE=test + - MYSQL_HOST=localhost MYSQL_PORT=3306 MYSQL_USERNAME=travis MYSQL_PASSWORD="" MYSQL_DATABASE=test install: - composer install @@ -21,9 +21,11 @@ before_script: - mysql -utravis test < database.sql - pecl channel-update pecl.php.net - pecl config-set preferred_state beta - - if [[ $TRAVIS_PHP_VERSION != "7.1" ]]; then echo yes | pecl upgrade apcu; fi - - if [[ $TRAVIS_PHP_VERSION != "7.1" ]]; then phpenv config-add .travis/apcu.ini; fi - phpenv config-add .travis/redis.ini - phpenv config-add .travis/memcached.ini -script: vendor/bin/phpunit --configuration tests/phpunit.xml \ No newline at end of file +script: + - vendor/bin/parallel-lint --exclude vendor/ --exclude view/asset/ . + - vendor/bin/phpunit --configuration tests/phpunit.xml --coverage-clover clover.xml + +after_success: bash <(curl -s https://codecov.io/bash)