No Description

.travis.yml 442B

1234567891011121314151617181920212223242526272829303132
  1. language: php
  2. branches:
  3. only: [master]
  4. sudo: false
  5. php:
  6. - 5.4
  7. - 5.5
  8. - 5.6
  9. - 7.0
  10. - 7.1
  11. - 7.2
  12. env:
  13. -
  14. - COMPOSER_ARGS="--prefer-lowest"
  15. matrix:
  16. include:
  17. - php: "7.2"
  18. env: RUN_CS_FIXER=true
  19. before_script:
  20. - composer update $COMPOSER_ARGS
  21. script:
  22. - if [ "${RUN_CS_FIXER}" = "true" ]; then
  23. vendor/bin/php-cs-fixer fix --dry-run --diff --config-file=.php_cs .;
  24. else
  25. vendor/bin/phpunit;
  26. fi