X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=.travis.yml;h=5e4c3483b798f0197251d8b27dd34a9266b65fd6;hb=1a385153f89487113e2aa07a5ceba31914f513c5;hp=e2aa84f5c81f91438475c579feb4064a770b2a0a;hpb=7c140a986590938b3d2bc6885813fd1c98816a2a;p=friendica.git diff --git a/.travis.yml b/.travis.yml index e2aa84f5c8..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/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)