Fix CI to run all Django versions #20

Merged
delobell merged 2 commits from aureplop/setup-ci-multi-django into master 2018-10-06 13:16:21 +02:00
Showing only changes of commit e936fb70de - Show all commits

View file

@ -3,13 +3,16 @@ image: python
stages:
- test
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/vendor/pip"
cache:
paths:
- vendor/apt
- vendor
- .tox
before_script:
- mkdir -p vendor/apt
- mkdir -p vendor/{apt,pip}
# http://www.python-ldap.org/en/latest/installing.html
- apt-get update -q && apt-get -o dir::cache::archives="vendor/apt" install -yqq build-essential python2.7-dev python3-dev libldap2-dev libsasl2-dev
- pip install tox