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.

.travis.yml 662B

123456789101112131415161718192021222324252627
  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. - pecl channel-update pecl.php.net
  21. - pecl config-set preferred_state beta
  22. - phpenv config-add .travis/redis.ini
  23. - phpenv config-add .travis/memcached.ini
  24. script: vendor/bin/phpunit --configuration tests/phpunit.xml