Skip to content

Commit

Permalink
Namespace memcached (#178)
Browse files Browse the repository at this point in the history
* Add memcached support

* MInor
  • Loading branch information
Nyholm authored Jul 16, 2017
1 parent 6e4373d commit c36d910
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 17 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,17 @@ matrix:
include:
- php: 7.0

services:
- memcached

cache:
directories:
- "$HOME/.composer/cache"

before_install:
- mkdir -p ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d
- bash <(curl -s https://raw.githubusercontent.com/php-cache/cache/master/build/php/7.0/Memcached.sh)

install:
- composer update --prefer-dist --prefer-stable

Expand Down
34 changes: 17 additions & 17 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
{
"name": "cache/namespaced-cache",
"description": "A decorator that makes your cache support namespaces",
"type": "library",
"license": "MIT",
"name": "cache/namespaced-cache",
"description": "A decorator that makes your cache support namespaces",
"type": "library",
"license": "MIT",
"minimum-stability": "dev",
"prefer-stable": true,
"keywords": [
"prefer-stable": true,
"keywords": [
"cache",
"psr-6",
"namespace"
],
"homepage": "http://www.php-cache.com/en/latest/",
"authors": [
"homepage": "http://www.php-cache.com/en/latest/",
"authors": [
{
"name": "Tobias Nyholm",
"email": "[email protected]",
"name": "Tobias Nyholm",
"email": "[email protected]",
"homepage": "https://github.com/nyholm"
}
],
"require": {
"php": "^5.6 || ^7.0",
"psr/cache": "^1.0",
"require": {
"php": "^5.6 || ^7.0",
"psr/cache": "^1.0",
"cache/hierarchical-cache": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^5.7.21",
"require-dev": {
"phpunit/phpunit": "^5.7.21",
"cache/memcached-adapter": "^1.0"
},
"autoload": {
"psr-4": {
"autoload": {
"psr-4": {
"Cache\\Namespaced\\": ""
},
"exclude-from-classmap": [
Expand Down

0 comments on commit c36d910

Please sign in to comment.