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.

28 lines
558 B

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