X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=.travis.yml;h=bb8b11311263228bb56cf05403b0325bfaf78a3d;hb=ff203c277dfd8619ccfb63edebaf54274e27bf2d;hp=82b5a5d218bd3de32b17a142b8e22026263b1e5b;hpb=b5b172500d5bbf63e70a980abfa30f8e480c18d3;p=friendica.git diff --git a/.travis.yml b/.travis.yml index 82b5a5d218..bb8b113112 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ --- language: php -## Friendica supports PHP version >= 5.6 +## Friendica supports PHP version >= 5.6.1 php: - 5.6 - 7.0 @@ -9,12 +9,17 @@ php: services: - mysql + - redis-server + - 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.ini.php config/local.ini.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 + - echo "extension=redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini + - echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini +after_success: bash <(curl -s https://codecov.io/bash)