RoundCube Webmail
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.

31 lines
601 B

8 years ago
8 years ago
8 years ago
  1. language: php
  2. dist: trusty
  3. sudo: false
  4. matrix:
  5. fast_finish: true
  6. include:
  7. - php: 5.4
  8. - php: 5.5
  9. - php: 5.6
  10. - php: 7.0
  11. - php: 7.1
  12. env: CODE_COVERAGE=1
  13. - php: 7.2
  14. - php: 7.3
  15. cache:
  16. directories:
  17. - $HOME/.composer
  18. install:
  19. - if [ "$CODE_COVERAGE" != 1 ]; then phpenv config-rm xdebug.ini || true; fi
  20. - cp composer.json-dist composer.json
  21. - composer install --prefer-dist
  22. script:
  23. - if [ "$CODE_COVERAGE" = 1 ]; then CODE_COVERAGE_ARGS="--coverage-text"; fi; vendor/bin/phpunit -c tests/phpunit.xml $CODE_COVERAGE_ARGS
  24. notifications:
  25. email: false