This repository has been archived by the owner on Jan 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 68
/
.travis.yml
77 lines (69 loc) · 1.93 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
language: python
sudo: false
matrix:
include:
- python: 3.5
env: TOX_ENV='flake8'
- python: 3.5
env: TOX_ENV='isort'
# Django 1.11
- python: 3.5
env: DJANGO='dj111' CMS='cms34'
- python: 3.5
env: DJANGO='dj111' CMS='cms35'
- python: 3.5
env: DJANGO='dj111' CMS='cms36'
- python: 3.5
env: DJANGO='dj111' CMS='cms40'
- python: 3.4
env: DJANGO='dj111' CMS='cms34'
- python: 3.4
env: DJANGO='dj111' CMS='cms35'
- python: 3.4
env: DJANGO='dj111' CMS='cms36'
- python: 3.4
env: DJANGO='dj111' CMS='cms40'
- python: 2.7
env: DJANGO='dj111' CMS='cms34'
- python: 2.7
env: DJANGO='dj111' CMS='cms35'
- python: 2.7
env: DJANGO='dj111' CMS='cms36'
- python: 2.7
env: DJANGO='dj111' CMS='cms40'
# Django 2.0
- python: 3.4
env: DJANGO='dj20' CMS='cms36'
- python: 3.5
env: DJANGO='dj20' CMS='cms36'
- python: 3.6
env: DJANGO='dj20' CMS='cms36'
- python: 3.4
env: DJANGO='dj20' CMS='cms40'
- python: 3.5
env: DJANGO='dj20' CMS='cms40'
- python: 3.6
env: DJANGO='dj20' CMS='cms40'
# Django 2.1
- python: 3.5
env: DJANGO='dj21' CMS='cms36'
- python: 3.6
env: DJANGO='dj21' CMS='cms36'
- python: 3.5
env: DJANGO='dj21' CMS='cms40'
- python: 3.6
env: DJANGO='dj21' CMS='cms40'
cache:
directories:
- $HOME/.wheelhouse
install:
- pip install coverage isort tox
- "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then export PY_VER=py27; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then export PY_VER=py34; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.5' ]]; then export PY_VER=py35; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then export PY_VER=py36; fi"
- "if [[ ${DJANGO}z != 'z' ]]; then export TOX_ENV=$PY_VER-$DJANGO-$CMS; fi"
script:
- tox -e $TOX_ENV
after_success:
- bash <(curl -s https://codecov.io/bash)