Drupal investigation

.travis.yml 838B

12345678910111213141516171819202122232425262728
  1. language: php
  2. sudo: false
  3. cache:
  4. directories:
  5. - $HOME/.composer/cache/files
  6. php: [5.3, 5.4, 5.5, 5.6, 7.0, hhvm]
  7. before_install:
  8. # Force using Goutte 2 on HHVM for now because Guzzle 6 is broken there
  9. - if [ "hhvm" = "$TRAVIS_PHP_VERSION" ]; then composer require fabpot/goutte '~2' --no-update; fi
  10. install:
  11. - composer install
  12. before_script:
  13. - export WEB_FIXTURES_HOST=http://localhost:8000
  14. # Start a webserver for web fixtures. Force using PHP 5.6 to be able to run it on PHP 5.3 and HHVM jobs too
  15. - ~/.phpenv/versions/5.6/bin/php -S localhost:8000 -t vendor/behat/mink/driver-testsuite/web-fixtures > /dev/null 2>&1 &
  16. script: phpunit -v --coverage-clover=coverage.clover
  17. after_script:
  18. - wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.clover