]> git.mxchange.org Git - friendica.git/blobdiff - .travis.yml
Filesystem storage: handle basepath with trailing slash
[friendica.git] / .travis.yml
index 78c29817db6e03101cb5da91376cbf3eb8bef9f9..c66457325f9ccdd7a89513029f5adb324b90a32f 100644 (file)
@@ -1,19 +1,24 @@
 ---
 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
+ - 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)