summaryrefslogtreecommitdiffstats
path: root/includes/google-api-php-client-master/.travis.yml
diff options
context:
space:
mode:
authorBlueRaja <BlueRaja.admin@gmail.com>2015-05-07 23:14:47 -0500
committerBlueRaja <BlueRaja.admin@gmail.com>2015-05-07 23:14:47 -0500
commit3dc3919ce1b5336861979cde56884842615c967b (patch)
treef0a2418290cecd15f20c834bb071ffa9f3694b09 /includes/google-api-php-client-master/.travis.yml
parent29e872fbc6c552ef02208fe9fa5416b69773aa38 (diff)
parentc517b645c8723b5f4d20cbb91cbc4b9f45579cbb (diff)
downloadpathery-3dc3919ce1b5336861979cde56884842615c967b.tar.xz
Merge branch 'master' of git.raylu.net:pathery
Diffstat (limited to 'includes/google-api-php-client-master/.travis.yml')
-rw-r--r--includes/google-api-php-client-master/.travis.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/includes/google-api-php-client-master/.travis.yml b/includes/google-api-php-client-master/.travis.yml
new file mode 100644
index 0000000..576503d
--- /dev/null
+++ b/includes/google-api-php-client-master/.travis.yml
@@ -0,0 +1,30 @@
+language: php
+
+services:
+ - memcached
+
+env:
+ global:
+ - MEMCACHE_HOST=127.0.0.1
+ - MEMCACHE_PORT=11211
+
+sudo: false
+
+php:
+ # Can't test against 5.2; openssl is not available:
+ # http://docs.travis-ci.com/user/languages/php/#PHP-installation
+ - 5.3
+ - 5.4
+ - 5.5
+ - 5.6
+ - hhvm
+
+before_script:
+ - composer install
+ - sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "extension=memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
+ - sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
+ - phpenv version-name | grep ^5.[34] && echo "extension=apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini ; true
+ - phpenv version-name | grep ^5.[34] && echo "apc.enable_cli=1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini ; true
+
+script:
+ - vendor/bin/phpunit