]> git.mxchange.org Git - friendica.git/blobdiff - .travis.yml
Use MYSQL_* environment variables for tests
[friendica.git] / .travis.yml
index 82b5a5d218bd3de32b17a142b8e22026263b1e5b..b722fe77f11bc52f2bb34b5217b26dcd7d2760a8 100644 (file)
@@ -10,11 +10,9 @@ php:
 services:
  - mysql
 env:
- - USER=travis DB=test
+ - MYSQL_HOST=localhost MYSQL_PORT=3306 MYSQL_USERNAME=travis MYSQL_PASSWORD= MYSQL_DATABASE=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