friendica/.travis.yml
Hypolite Petovan eaa3e4d157 Use MYSQL_* environment variables for tests
- Prevent `.htconfig.php` override when present during tests.
2018-07-03 08:26:44 -04:00

19 lines
310 B
YAML

---
language: php
## Friendica supports PHP version >= 5.6
php:
- 5.6
- 7.0
- 7.1
- 7.2
services:
- mysql
env:
- 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;'