X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=.travis.yml;h=95333b6c9e5188d8271cc8b5a9afe7063ded2438;hb=84244b1450380ce1fe8d06b9a5ac9693e0ed2391;hp=fe436c5ddda1ff6b5f5ea211b539f1c48c232992;hpb=0ff51c2b13b56e97f9a5fd79c7222f3e6e3694f5;p=friendica.git diff --git a/.travis.yml b/.travis.yml index fe436c5ddd..95333b6c9e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,27 @@ --- 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.1 + - 7.2 + - 7.3 -install: composer install +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