friendica_2021.01_tupambae_.../.travis.yml

26 lines
611 B
YAML
Raw Normal View History

2018-04-09 21:49:23 +02:00
---
language: php
2018-07-01 21:15:17 +02:00
## Friendica supports PHP version >= 5.6.1
2018-04-22 14:56:59 +02:00
php:
2018-04-23 07:42:48 +02:00
- 5.6
- 7.0
- 7.1
- 7.2
2018-04-22 14:56:59 +02:00
2018-04-09 21:23:41 +02:00
services:
- mysql
- redis-server
- memcached
2018-04-09 21:23:41 +02:00
env:
- MYSQL_HOST=localhost MYSQL_PORT=3306 MYSQL_USERNAME=travis MYSQL_PASSWORD= MYSQL_DATABASE=test
2018-04-09 21:23:41 +02:00
install:
- composer install
before_script:
- cp config/local-sample.ini.php config/local.ini.php
2018-04-09 21:23:41 +02:00
- mysql -e 'CREATE DATABASE IF NOT EXISTS test;'
- mysql -utravis test < database.sql
- echo "extension=redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini