You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
816 B

  1. language: php
  2. php:
  3. - 5.3
  4. - 5.4
  5. - 5.5
  6. - 5.6
  7. - hhvm
  8. services:
  9. - riak
  10. - mongodb
  11. - memcached
  12. - redis-server
  13. before_install:
  14. - sh -c "if [ $TRAVIS_PHP_VERSION != 'hhvm' ]; then pecl install riak-beta; fi"
  15. - sh -c "if [[ $TRAVIS_PHP_VERSION != 'hhvm' && `php-config --vernum` -ge 50500 ]] ; then pecl config-set preferred_state beta; printf "yes\n" | pecl install apcu ; else echo 'extension="apc.so"' >> ./tests/travis/php.ini ;fi"
  16. - composer self-update
  17. - sh -c "if [ $TRAVIS_PHP_VERSION != 'hhvm' ]; then phpenv config-add ./tests/travis/php.ini; fi"
  18. install:
  19. - composer --prefer-source --dev install
  20. script:
  21. - ./vendor/bin/phpunit -c ./tests/travis/phpunit.travis.xml -v
  22. after_script:
  23. - php vendor/bin/coveralls -v
  24. matrix:
  25. allow_failures:
  26. - php: hhvm