Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix travis tests for this project #174

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions README

This file was deleted.

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion test_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down