Drupal investigation

.travis.yml 890B

1234567891011121314151617181920212223242526272829303132333435
  1. language: php
  2. sudo: false
  3. php: [5.3, 5.4, 5.5, 5.6, 7.0, hhvm]
  4. matrix:
  5. include:
  6. # Test against LTS versions
  7. - php: 5.5
  8. env: SYMFONY_VERSION='2.3.*'
  9. - php: 5.5
  10. env: SYMFONY_VERSION='2.7.*'
  11. - php: 5.6
  12. env: SYMFONY_VERSION='2.8.*'
  13. # Test against dev versions of dependencies
  14. - php: 5.6
  15. env: DEPENDENCIES='dev'
  16. cache:
  17. directories:
  18. - $HOME/.composer/cache/files
  19. before_install:
  20. - if [ "$DEPENDENCIES" = "dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi;
  21. - sh -c 'if [ "$SYMFONY_VERSION" != "" ]; then composer require -n --no-update symfony/symfony=$SYMFONY_VERSION; fi;'
  22. install:
  23. - composer install -n
  24. script: phpunit -v --coverage-clover=coverage.clover
  25. after_script:
  26. - wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.clover