---
language: php
-php: 5.6
-install: composer install
+## Friendica supports PHP version >= 5.6
+php:
+ - 5.6
+ - 7.0
+ - 7.1
+ - 7.2
+
+services:
+ - mysql
+env:
+ - USER=travis DB=test
+
+install:
+ - composer install
+before_script:
+ - mysql -e 'CREATE DATABASE IF NOT EXISTS test;'
+ # In order to avoid bin/worker.php warnings
+ - touch .htconfig.php