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