X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=.travis.yml;h=4ea3ac7ab2261e26e8e59d2cd3ebf97233c09acb;hb=c8328a8446191753c9b43cfcb2891c9b20800185;hp=493ba652e3e9fb1367ac586eb0e4e2999907cb54;hpb=d5dd12b8f8bc7d08813fee3e22831daf45c9052d;p=friendica.git diff --git a/.travis.yml b/.travis.yml index 493ba652e3..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,11 +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 --coverage-clover clover.xml +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)