forked from nephila/djangocms-installer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (24 loc) · 840 Bytes
/
.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
# Config file for automatic testing at travis-ci.org
language: python
sudo: false
python:
- 3.4
- 3.3
- 2.7
- 2.6
env:
- LANG='en_US.UTF-8'
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install -U tox virtualenv coveralls
- "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; export TOX_ENV=py26; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then export TOX_ENV=py27; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then export TOX_ENV=py33; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then export TOX_ENV=py34; fi"
# command to run tests, e.g. python setup.py test
script: COMMAND='coverage run --source=djangocms_installer' tox -e$TOX_ENV
after_success: coveralls
matrix:
allow_failures:
- python: 3.3
- python: 3.4