.travis.yml 717 B

12345678910111213141516171819202122232425262728293031323334353637
  1. sudo: false
  2. language: php
  3. # Only build the main develop/master branches - feature branches will be covered by PRs
  4. branches:
  5. only:
  6. - /^[0-9\.]+\/(develop|master)$/
  7. cache:
  8. directories:
  9. - vendor
  10. - $HOME/.composer/cache
  11. php:
  12. - 5.3
  13. - 5.4
  14. - 5.5
  15. - 5.6
  16. - 7.0
  17. - hhvm
  18. matrix:
  19. include:
  20. - php: 5.3
  21. env: 'COMPOSER_PHPUNIT="lowest"'
  22. before_script:
  23. - composer install --prefer-dist
  24. - if [ "$COMPOSER_PHPUNIT" = "lowest" ]; then composer update --prefer-lowest --with-dependencies phpunit/phpunit; fi;
  25. - vendor/bin/koharness
  26. script:
  27. - cd /tmp/koharness && ./vendor/bin/phpunit --bootstrap=modules/unittest/bootstrap.php modules/unittest/tests.php
  28. notifications:
  29. email: false