add redis to travis builds

This commit is contained in:
John Anderson 2019-04-15 04:16:22 -04:00
parent c11abbe8ca
commit cdff29c7d5
2 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,7 @@
sudo: required sudo: required
services: services:
- postgresql - postgresql
- redis-server
addons: addons:
postgresql: "9.4" postgresql: "9.4"
language: python language: python

View File

@ -250,7 +250,6 @@ class ModelViewSet(_ModelViewSet):
# Fall back to the hard-coded serializer class # Fall back to the hard-coded serializer class
return self.serializer_class return self.serializer_class
@method_decorator(cache_page(settings.CACHE_TIMEOUT)) @method_decorator(cache_page(settings.CACHE_TIMEOUT))
def list(self, *args, **kwargs): def list(self, *args, **kwargs):
""" """