-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
35 lines (28 loc) · 1.02 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
# Config file for automatic testing at travis-ci.org
language: python
sudo: false
python:
- 3.5
- 2.7
env:
matrix:
- DJANGO='django18' CMS='cms33'
- DJANGO='django19' CMS='cms33'
- DJANGO='django18' CMS='cms34'
- DJANGO='django19' CMS='cms34'
- DJANGO='django110' CMS='cms34'
- DJANGO='django111' CMS='cms34'
- DJANGO='django18' CMS='cms35'
- DJANGO='django19' CMS='cms35'
- DJANGO='django110' CMS='cms35'
- DJANGO='django111' CMS='cms35'
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install -U tox>=1.8 coveralls
- "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then export PYVER=py27; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then export PYVER=py33; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then export PYVER=py34; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.5' ]]; then export PYVER=py35; fi"
# command to run tests, e.g. python setup.py test
script: COMMAND='coverage run' tox -e"$PYVER-$DJANGO-$CMS",pep8
after_success: coveralls