aboutsummaryrefslogtreecommitdiffstats
path: root/library/oauth2/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'library/oauth2/.travis.yml')
-rw-r--r--library/oauth2/.travis.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/library/oauth2/.travis.yml b/library/oauth2/.travis.yml
new file mode 100644
index 000000000..dd4aae4a6
--- /dev/null
+++ b/library/oauth2/.travis.yml
@@ -0,0 +1,30 @@
+language: php
+sudo: false
+cache:
+ directories:
+ - $HOME/.composer/cache
+ - vendor
+php:
+- 5.3
+- 5.4
+- 5.5
+- 5.6
+- 7
+- hhvm
+env:
+ global:
+ - SKIP_MONGO_TESTS=1
+ - secure: Bc5ZqvZ1YYpoPZNNuU2eCB8DS6vBYrAdfBtTenBs5NSxzb+Vjven4kWakbzaMvZjb/Ib7Uph7DGuOtJXpmxnvBXPLd707LZ89oFWN/yqQlZKCcm8iErvJCB5XL+/ONHj2iPdR242HJweMcat6bMCwbVWoNDidjtWMH0U2mYFy3M=
+ - secure: R3bXlymyFiY2k2jf7+fv/J8i34wtXTkmD4mCr5Ps/U+vn9axm2VtvR2Nj+r7LbRjn61gzFE/xIVjYft/wOyBOYwysrfriydrnRVS0owh6y+7EyOyQWbRX11vVQMf8o31QCQE5BY58V5AJZW3MjoOL0FVlTgySJiJvdw6Pv18v+E=
+services:
+- mongodb
+- redis-server
+- cassandra
+before_install:
+- phpenv config-rm xdebug.ini || return 0
+install:
+- composer install --no-interaction
+before_script:
+- psql -c 'create database oauth2_server_php;' -U postgres
+after_script:
+- php test/cleanup.php