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