summaryrefslogtreecommitdiff
path: root/Postman/Postman-Mail/google-api-php-client-1.1.2/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'Postman/Postman-Mail/google-api-php-client-1.1.2/.travis.yml')
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/.travis.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/.travis.yml b/Postman/Postman-Mail/google-api-php-client-1.1.2/.travis.yml
new file mode 100644
index 0000000..8503d6b
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/.travis.yml
@@ -0,0 +1,26 @@
+language: php
+
+services:
+ - memcached
+
+env:
+ - MEMCACHE_HOST=127.0.0.1 MEMCACHE_PORT=11211
+
+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