add pip-accel to travis to cache builds better

This commit is contained in:
Leo Hemsted
2016-06-06 09:18:42 +01:00
parent f58ee7a8f8
commit a39552f81f

View File

@@ -1,12 +1,16 @@
sudo: false sudo: false
language: python language: python
cache: pip cache:
pip: true
directories:
- ~/.pip-accel
python: python:
- '3.4' - '3.4'
addons: addons:
postgresql: '9.3' postgresql: '9.3'
install: install:
- pip install -r requirements_for_test.txt - pip install pip-accel
- pip-accel install -r requirements_for_test.txt
before_script: before_script:
- psql -c 'create database test_notification_api;' -U postgres - psql -c 'create database test_notification_api;' -U postgres
script: script: