diff --git a/.travis.yml b/.travis.yml index 498caabb..0ec1e5cf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,15 +12,15 @@ cache: install: - | if [ "$TEST_TYPE" = build ]; then - pip install --download-cache $HOME/.cache/pip/ pytest pytest-cov coveralls six pytest-django django-filter sqlalchemy_utils - pip install --download-cache $HOME/.cache/pip psycopg2 > /dev/null 2>&1 - pip install --download-cache $HOME/.cache/pip/ -e . - pip install --download-cache $HOME/.cache/pip/ -e .[django] - pip install --download-cache $HOME/.cache/pip/ -e .[sqlalchemy] + pip install pytest pytest-cov coveralls six pytest-django django-filter sqlalchemy_utils + pip install psycopg2 > /dev/null 2>&1 + pip install -e . + pip install -e .[django] + pip install -e .[sqlalchemy] pip install django==$DJANGO_VERSION python setup.py develop elif [ "$TEST_TYPE" = lint ]; then - pip install --download-cache $HOME/.cache/pip/ flake8 + pip install flake8 fi script: - |