.travis.yml 671 Bytes
Newer Older
1
language: python
2 3 4 5 6 7
matrix:
  include:
  - python: "2.7"
    env: TOX_ENV=flake8
  - python: "2.7"
    env: TOX_ENV=check_rst
8 9 10 11 12 13
  - python: "2.7"
    env: TOX_ENV=py27-django111
  - python: "3.5"
    env: TOX_ENV=py35-django111
  - python: "3.6"
    env: TOX_ENV=py36-django111
14 15 16 17
  - python: "3.5"
    env: TOX_ENV=py35-django20
  - python: "3.6"
    env: TOX_ENV=py36-django20
18 19
  - python: "2.7"
    env: TOX_ENV=coverage
20 21
cache:
  directories:
Valentin Samir's avatar
Valentin Samir committed
22 23
    - $HOME/.cache/pip/http/
    - $HOME/build/nitmir/django-cas-server/.tox/$TOX_ENV/
24 25 26 27 28 29
install:
  - "travis_retry pip install setuptools --upgrade"
  - "pip install tox"
script:
  - tox -e $TOX_ENV
after_script:
Valentin Samir's avatar
Valentin Samir committed
30
  - cat tox_log/*.log