Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there)
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.

.travis.yml 673B

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