X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=.travis.yml;h=5e4c3483b798f0197251d8b27dd34a9266b65fd6;hb=58f06a830f974d4c70983313015293374fd6c121;hp=f8ea715ffb5bc5bf7b03133356278d4243319a33;hpb=98de833d88ea107d2535f87575eb94518491695b;p=friendica.git diff --git a/.travis.yml b/.travis.yml index f8ea715ffb..5e4c3483b7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,10 +8,10 @@ php: services: - mysql - - redis-server + - redis - 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)