.travis.yml 541 B

1234567891011121314151617181920212223242526272829
  1. language: php
  2. php:
  3. - 5.4
  4. - 5.5
  5. - 5.6
  6. - 7.0
  7. - hhvm
  8. matrix:
  9. allow_failures:
  10. - php: hhvm
  11. before_script:
  12. ## Packages
  13. - sudo apt-get -qq update > /dev/null
  14. ## Composer
  15. - composer self-update
  16. - composer install --prefer-source --dev
  17. - phpenv global "$TRAVIS_PHP_VERSION"
  18. script:
  19. ## PHP_CodeSniffer
  20. - ./vendor/bin/phpcs --report-width=200 --report-summary --report-full Classes/ unitTests/ --standard=PSR2 -n
  21. ## PHPUnit
  22. - phpunit -c ./unitTests/
  23. notifications:
  24. email: false