Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
671 B

  1. ---
  2. language: php
  3. ## Friendica supports PHP version >= 5.6.1
  4. php:
  5. - 5.6
  6. - 7.0
  7. - 7.1
  8. - 7.2
  9. services:
  10. - mysql
  11. - redis-server
  12. - memcached
  13. env:
  14. - MYSQL_HOST=localhost MYSQL_PORT=3306 MYSQL_USERNAME=travis MYSQL_PASSWORD= MYSQL_DATABASE=test
  15. install:
  16. - composer install
  17. before_script:
  18. - cp config/local-sample.config.php config/local.config.php
  19. - mysql -e 'CREATE DATABASE IF NOT EXISTS test;'
  20. - mysql -utravis test < database.sql
  21. - echo "extension=redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  22. - echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  23. after_success: bash <(curl -s https://codecov.io/bash)