friendica/.travis.yml

25 wiersze
673 B
YAML
Czysty Zwykły widok Historia

2018-04-09 19:49:23 +00:00
---
language: php
2019-01-23 03:02:35 +00:00
## Friendica officially supports PHP version >= 7.1
2018-04-22 12:56:59 +00:00
php:
2018-04-23 05:42:48 +00:00
- 7.1
- 7.2
2019-01-23 03:02:35 +00:00
- 7.3
2018-04-22 12:56:59 +00:00
2018-04-09 19:23:41 +00:00
services:
- mysql
- redis-server
- memcached
2018-04-09 19:23:41 +00:00
env:
- MYSQL_HOST=localhost MYSQL_PORT=3306 MYSQL_USERNAME=travis MYSQL_PASSWORD= MYSQL_DATABASE=test
2018-04-09 19:23:41 +00:00
install:
- composer install
before_script:
- cp config/local-sample.config.php config/local.config.php
2018-04-09 19:23:41 +00: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
after_success: bash <(curl -s https://codecov.io/bash)