language: python cache: pip # Matrix of build options python: - '3.4' - '3.5' env: global: - DJANGO_SETTINGS_MODULE="tests.app.settings" - TOX_ENV= matrix: - DJANGO='18' - DJANGO='19' - WAGTAIL='14' - WAGTAIL='15' install: - pip install --upgrade pip wheel tox cache: directories: - $HOME/.cache/pip - $HOME/virtualenv script: # Run tox using either a specific environment from TOX_ENV, # or building one from the environment variables - tox -e "${TOX_ENV:-py${TRAVIS_PYTHON_VERSION/./}-dj${DJANGO}-wt${WAGTAIL}}"