mirror of
https://github.com/jazzband/django-ddp.git
synced 2026-03-16 22:40:24 +00:00
Fix Travis CI build matrix.
This commit is contained in:
parent
3a09f8246d
commit
7fabb813de
2 changed files with 12 additions and 10 deletions
21
.travis.yml
21
.travis.yml
|
|
@ -14,10 +14,11 @@ python:
|
|||
- "pypy3"
|
||||
|
||||
env:
|
||||
- DJANGO="1.8"
|
||||
- DJANGO="1.9"
|
||||
- PGDATABASE="django_ddp_test_project"
|
||||
- PGUSER="postgres"
|
||||
matrix:
|
||||
- DJANGO="1.8"
|
||||
- DJANGO="1.9"
|
||||
- PGDATABASE="django_ddp_test_project"
|
||||
- PGUSER="postgres"
|
||||
|
||||
# Django 1.9 dropped support for Python 3.3
|
||||
matrix:
|
||||
|
|
@ -33,12 +34,12 @@ before_install:
|
|||
|
||||
install:
|
||||
- pip install -U tox coveralls setuptools
|
||||
- '[[ $TRAVIS_PYTHON_VERSION == "2.7" ]] && PYENV="py27"'
|
||||
- '[[ $TRAVIS_PYTHON_VERSION == "3.3" ]] && PYENV="py33"'
|
||||
- '[[ $TRAVIS_PYTHON_VERSION == "3.4" ]] && PYENV="py34"'
|
||||
- '[[ $TRAVIS_PYTHON_VERSION == "3.5" ]] && PYENV="py35"'
|
||||
- '[[ $TRAVIS_PYTHON_VERSION == "pypy" ]] && PYENV="pypy"'
|
||||
- '[[ $TRAVIS_PYTHON_VERSION == "pypy3" ]] && PYENV="pypy3"'
|
||||
- test "$TRAVIS_PYTHON_VERSION" == "2.7" && PYENV="py27"'
|
||||
- test "$TRAVIS_PYTHON_VERSION" == "3.3" && PYENV="py33"'
|
||||
- test "$TRAVIS_PYTHON_VERSION" == "3.4" && PYENV="py34"'
|
||||
- test "$TRAVIS_PYTHON_VERSION" == "3.5" && PYENV="py35"'
|
||||
- test "$TRAVIS_PYTHON_VERSION" == "pypy" && PYENV="pypy"'
|
||||
- test "$TRAVIS_PYTHON_VERSION" == "pypy3" && PYENV="pypy3"'
|
||||
|
||||
before_script:
|
||||
- env | sort
|
||||
|
|
|
|||
1
Makefile
1
Makefile
|
|
@ -52,4 +52,5 @@ upload-docs: docs/_build/
|
|||
|
||||
.travis.yml.ok: .travis.yml
|
||||
@travis --version > "$@" || { echo 'Install travis command line client?'; exit 1; }
|
||||
sha1sum "$<" >> "$@"
|
||||
travis lint --exit-code | tee -a "$@"
|
||||
|
|
|
|||
Loading…
Reference in a new issue