travis: do not run dnstools tests in parallel

also: only run coverage and pep8 once
This commit is contained in:
Thomas Waldmann 2013-12-13 04:06:59 +01:00
parent e2e07b60e3
commit 329b6b5abf

View File

@ -8,14 +8,19 @@ env:
- SECRET_KEY=justfortravis - SECRET_KEY=justfortravis
- DNS_RESOLVER_TIMEOUT=15.0 - DNS_RESOLVER_TIMEOUT=15.0
- DNS_UPDATE_TIMEOUT=30.0 - DNS_UPDATE_TIMEOUT=30.0
- TEST_OPTS="-k 'not dnstools and not ddns_client'"
- COVERAGE=""
matrix: matrix:
- DJANGO=1.5.5 - DJANGO=1.5.5
- DJANGO=1.6.1 - DJANGO=1.6.1
include:
- python: "2.7"
env: DJANGO=1.6.1 COVERAGE="coverage run -m" TEST_OPTS="--pep8"
install: install:
- "pip install --use-mirrors Django==$DJANGO" - "pip install --use-mirrors Django==$DJANGO"
- "pip install --use-mirrors -e ." - "pip install --use-mirrors -e ."
- "pip install --use-mirrors coveralls" - "pip install --use-mirrors coveralls"
script: "coverage run -m py.test --pep8" script: "$COVERAGE py.test $TEST_OPTS"
after_success: after_success:
- coveralls - coveralls
notifications: notifications: