35 lines
769 B
YAML
35 lines
769 B
YAML
language: python
|
|
matrix:
|
|
include:
|
|
- python: "3.7"
|
|
env: TOX_ENV=flake8
|
|
- python: "3.7"
|
|
env: TOX_ENV=check_rst
|
|
- python: "2.7"
|
|
env: TOX_ENV=py27-django111
|
|
- python: "3.5"
|
|
env: TOX_ENV=py35-django111
|
|
- python: "3.6"
|
|
env: TOX_ENV=py36-django111
|
|
- python: "3.5"
|
|
env: TOX_ENV=py35-django20
|
|
- python: "3.6"
|
|
env: TOX_ENV=py36-django20
|
|
- python: "3.5"
|
|
env: TOX_ENV=py35-django21
|
|
- python: "3.6"
|
|
env: TOX_ENV=py36-django21
|
|
- python: "3.7"
|
|
env: TOX_ENV=coverage
|
|
cache:
|
|
directories:
|
|
- $HOME/.cache/pip/http/
|
|
- $HOME/build/nitmir/django-cas-server/.tox/$TOX_ENV/
|
|
install:
|
|
- "travis_retry pip install setuptools --upgrade"
|
|
- "pip install tox"
|
|
script:
|
|
- tox -e $TOX_ENV
|
|
after_script:
|
|
- cat tox_log/*.log
|