Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
38 lines (30 sloc) 0.93 kb
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
matrix:
allow_failures:
- php: 5.3
- php: hhvm
fast_finish: true
env:
matrix:
- ES_COMPOSER_NODEV=no
- ES_COMPOSER_NODEV=yes
install:
- /bin/bash ansible/provision.sh
before_script:
- mkdir -p build/logs
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "extension=memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
- if [ $ES_COMPOSER_NODEV == "no" ] && ! $(phpenv version-name | grep -q '5.3'); then sudo composer require "guzzlehttp/guzzle" "4.2.*" --dev --no-ansi --no-progress --no-interaction; fi
script:
- phpunit -c test/phpunit-travis.xml
after_script:
- cat /var/log/elasticsearch/*.log
- cat /var/log/nginx/*.log
- cat build/logs/phpunit-tap.log
- sudo composer require satooshi/php-coveralls --no-ansi --no-progress --no-interaction
- php vendor/bin/coveralls -v
Jump to Line
Something went wrong with that request. Please try again.