Drupal investigation

.travis.yml 1008B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. language: php
  2. sudo: false
  3. cache:
  4. directories:
  5. - vendor
  6. - $HOME/.composer/cache
  7. php:
  8. - 5.5
  9. - 5.6
  10. - 7.0
  11. - hhvm
  12. services:
  13. - riak
  14. - mongodb
  15. - memcached
  16. - redis-server
  17. before_install:
  18. - if [[ $TRAVIS_PHP_VERSION != 'hhvm' ]] ; then pecl channel-update pecl.php.net; fi;
  19. - if [[ $TRAVIS_PHP_VERSION != 'hhvm' && $TRAVIS_PHP_VERSION != '7.0' ]]; then pecl install riak-beta; fi;
  20. - if [[ $TRAVIS_PHP_VERSION =~ 5.[56] ]] ; then echo yes | pecl install apcu-4.0.10; fi;
  21. - if [[ $TRAVIS_PHP_VERSION = 7.* ]] ; then pecl config-set preferred_state beta; echo yes | pecl install apcu; fi;
  22. - if [[ $TRAVIS_PHP_VERSION != 'hhvm' ]]; then phpenv config-add ./tests/travis/php.ini; fi;
  23. install:
  24. - travis_retry composer install
  25. script:
  26. - ./vendor/bin/phpunit -c ./tests/travis/phpunit.travis.xml -v
  27. after_script:
  28. - php vendor/bin/coveralls -v
  29. matrix:
  30. fast_finish: true
  31. allow_failures:
  32. - php: hhvm
  33. - php: 7.0