X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=.travis.yml;h=e306787ff16af3fc3e31c027f86a6d3cbcba1618;hb=c748a82e8f829a699a8e9368cb93b4842334ec22;hp=b722fe77f11bc52f2bb34b5217b26dcd7d2760a8;hpb=eaa3e4d15737413848244410878f7eca3f6a9741;p=friendica.git diff --git a/.travis.yml b/.travis.yml index b722fe77f1..e306787ff1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,29 @@ --- 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-server + - memcached env: - 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;' + - 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/phpunit --configuration tests/phpunit.xml --coverage-clover clover.xml + +after_success: bash <(curl -s https://codecov.io/bash)