]> git.mxchange.org Git - friendica.git/blob - .travis.yml
Add DB structure import from file during Travis execution
[friendica.git] / .travis.yml
1 ---
2 language: php
3 ## Friendica supports PHP version >= 5.6
4 php:
5  - 5.6
6  - 7.0
7  - 7.1
8  - 7.2
9
10 services:
11  - mysql
12 env:
13  - MYSQL_HOST=localhost MYSQL_PORT=3306 MYSQL_USERNAME=travis MYSQL_PASSWORD= MYSQL_DATABASE=test
14
15 install:
16  - composer install
17 before_script:
18  - mysql -e 'CREATE DATABASE IF NOT EXISTS test;'
19  - mysql -utravis test < database.sql