]> git.mxchange.org Git - friendica.git/blobdiff - .travis.yml
Create config keys if they not exists on set.
[friendica.git] / .travis.yml
index d3fffc6936cb032f0df5b3cbc8b9030fef1eadc0..82b5a5d218bd3de32b17a142b8e22026263b1e5b 100644 (file)
@@ -1,4 +1,20 @@
 ---
 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