No Description

.travis.yml 886B

123456789101112131415161718192021222324252627
  1. language: php
  2. php:
  3. - 5.3.3
  4. - 5.3
  5. - 5.4
  6. - 5.5
  7. - 5.6
  8. - hhvm
  9. - hhvm-nightly
  10. before_script:
  11. - ./.travis.install.sh
  12. script:
  13. - sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.3.3' ]; then phpunit; fi"
  14. - sh -c "if [ '$TRAVIS_PHP_VERSION' != '5.3.3' ]; then ./vendor/bin/phpunit; fi"
  15. - sh -c "if [ '$TRAVIS_PHP_VERSION' != '5.3.3' ]; then ./vendor/bin/phpcs --standard=PSR2 ./src/ ./tests/; fi"
  16. - sh -c "if [[ '$TRAVIS_PHP_VERSION' != '5.3.3' && '$TRAVIS_PHP_VERSION' != '5.4.29' && '$TRAVIS_PHP_VERSION' != '5.5.13' ]]; then php -n ./vendor/bin/athletic -p ./tests/DoctrineTest/InstantiatorPerformance/ -f GroupedFormatter; fi"
  17. after_script:
  18. - sh -c "if [ '$TRAVIS_PHP_VERSION' != '5.3.3' ]; then wget https://scrutinizer-ci.com/ocular.phar; php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi"
  19. matrix:
  20. allow_failures:
  21. - php: hhvm-nightly