X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=.travis.yml;h=5e4c3483b798f0197251d8b27dd34a9266b65fd6;hb=140ae4e3cc964c46031c634ace281594a45566e2;hp=82b5a5d218bd3de32b17a142b8e22026263b1e5b;hpb=78114c13d5ce27b36682a960859056d4ebf9d9be;p=friendica.git diff --git a/.travis.yml b/.travis.yml index 82b5a5d218..5e4c3483b7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,20 +1,31 @@ --- language: php -## Friendica supports PHP version >= 5.6 +## Friendica officially supports PHP version >= 7.1 php: - - 5.6 - - 7.0 - 7.1 - 7.2 + - 7.3 services: - mysql + - redis + - memcached env: - - USER=travis DB=test + - MYSQL_HOST=localhost MYSQL_PORT=3306 MYSQL_USERNAME=travis MYSQL_PASSWORD="" MYSQL_DATABASE=test install: - composer install before_script: + - cp config/local-sample.config.php config/local.config.php - mysql -e 'CREATE DATABASE IF NOT EXISTS test;' - # In order to avoid bin/worker.php warnings - - touch .htconfig.php + - mysql -utravis test < database.sql + - pecl channel-update pecl.php.net + - pecl config-set preferred_state beta + - 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)