3 ## Friendica officially supports PHP version >= 7.1
14 - MYSQL_HOST=localhost MYSQL_PORT=3306 MYSQL_USERNAME=travis MYSQL_PASSWORD= MYSQL_DATABASE=test
19 - cp config/local-sample.config.php config/local.config.php
20 - mysql -e 'CREATE DATABASE IF NOT EXISTS test;'
21 - mysql -utravis test < database.sql
22 - pecl channel-update pecl.php.net
23 - pecl config-set preferred_state beta
24 - if [[ $TRAVIS_PHP_VERSION != "7.1" ]]; then echo yes | pecl upgrade apcu; fi
25 - if [[ $TRAVIS_PHP_VERSION != "7.1" ]]; then phpenv config-add .travis/apcu.ini; fi
26 - phpenv config-add .travis/redis.ini
27 - phpenv config-add .travis/memcached.ini
29 after_success: bash <(curl -s https://codecov.io/bash)