.travis.yml 918 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
  - python: "2.7"
    env: TOX_ENV=py27-django111
18 19 20 21
  - python: "3.4"
    env: TOX_ENV=py34-django17
  - python: "3.4"
    env: TOX_ENV=py34-django18
Valentin Samir's avatar
Valentin Samir committed
22 23
  - python: "3.5"
    env: TOX_ENV=py35-django110
24 25 26 27
  - python: "3.5"
    env: TOX_ENV=py35-django111
  - python: "3.6"
    env: TOX_ENV=py36-django111
28 29
  - python: "2.7"
    env: TOX_ENV=coverage
30 31
cache:
  directories:
Valentin Samir's avatar
Valentin Samir committed
32 33
    - $HOME/.cache/pip/http/
    - $HOME/build/nitmir/django-cas-server/.tox/$TOX_ENV/
34 35 36 37 38 39
install:
  - "travis_retry pip install setuptools --upgrade"
  - "pip install tox"
script:
  - tox -e $TOX_ENV
after_script:
Valentin Samir's avatar
Valentin Samir committed
40
  - cat tox_log/*.log