Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated configuration with Bitset PECL extension info

  • Loading branch information...
commit b9abd25babc229a17c20255c020f38f438927162 1 parent 1cfa8c8
@jeremyFreeAgent authored
Showing with 6 additions and 2 deletions.
  1. +2 −1  .travis.yml
  2. +2 −0  README.rst
  3. +2 −1  composer.json
View
3  .travis.yml
@@ -11,10 +11,11 @@ before_script:
# install phpredis extension.
- sh -c "git clone https://github.com/nicolasff/phpredis/ && cd phpredis && phpize && ./configure && make && sudo make install " > /dev/null
- echo "extension=redis.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
+ - pecl install bitset
# composer install
- wget http://getcomposer.org/composer.phar
- php composer.phar install --dev
script:
- - bin/atoum -mcn 1 -d tests/units
+ - bin/atoum -d tests/units
View
2  README.rst
@@ -43,6 +43,8 @@ Bitter uses `Redis <http://redis.io>`_ with version **>=2.6**.
**Note**: Every key created in Redis will be prefixed by ``bitter:``, temp keys by ``bitter_temp:``.
+Bitter uses `Bitset PECL extension <http://pecl.php.net/package/Bitset>`_ with version **=1.0.1** for the ``getIds`` method.
+
Basic usage
-----------
Create a Bitter with a Redis client (Predis as example):
View
3  composer.json
@@ -15,7 +15,8 @@
"issues": "https://github.com/jeremyFreeAgent/Bitter/issues"
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=5.3.3",
+ "ext-bitset": "1.0.1"
},
"require-dev": {
"predis/predis": "0.8.*",
Please sign in to comment.
Something went wrong with that request. Please try again.