diff --git a/.travis.yml b/.travis.yml index 65ab4ef..4ce41b7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,11 +3,11 @@ python: - "2.7" - "3.3" install: - - pip install . --use-mirrors - - pip install coverage --use-mirrors - - pip install redis --use-mirrors - - "if [[ $TRAVIS_PYTHON_VERSION == 2.7* ]]; then pip install pylibmc --use-mirrors; fi" - - "if [[ $TRAVIS_PYTHON_VERSION == 3.3* ]]; then pip install python3-memcached --use-mirrors; fi" + - pip install . + - pip install coverage + - pip install redis + - "if [[ $TRAVIS_PYTHON_VERSION == 2.7* ]]; then pip install pylibmc; fi" + - "if [[ $TRAVIS_PYTHON_VERSION == 3.3* ]]; then pip install python3-memcached; fi" script: nosetests --with-coverage --cover-package=flask_cache services: - memcached diff --git a/README b/README deleted file mode 100644 index cc45c70..0000000 --- a/README +++ /dev/null @@ -1,3 +0,0 @@ -Flask-Cache - -Adds easy cache support to Flask. diff --git a/README.md b/README.md new file mode 100644 index 0000000..fb4eb20 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# Flask-Cache +[![Build Status](https://travis-ci.org/thadeusb/flask-cache.svg?branch=master)](https://travis-ci.org/thadeusb/flask-cache) + +Adds easy cache support to Flask. diff --git a/test_cache.py b/test_cache.py index 9811572..7fca4b4 100644 --- a/test_cache.py +++ b/test_cache.py @@ -679,7 +679,7 @@ def test_22_redis_url_explicit_db_arg(self): cache.init_app(self.app, config=config) rconn = self.app.extensions['cache'][cache] \ ._client.connection_pool.get_connection('foo') - assert rconn.db == 1 + assert rconn.db == 2 class CacheFilesystemTestCase(CacheTestCase):