nsupdate.info/.travis.yml

37 lines
823 B
YAML
Raw Normal View History

2013-11-19 06:09:20 +01:00
language: python
python:
- "2.6"
2013-11-19 06:09:20 +01:00
- "2.7"
- "pypy"
- "3.3"
- "3.4"
2013-12-13 02:40:39 +01:00
env:
global:
- SECRET_KEY=justfortravis
- DNS_RESOLVER_TIMEOUT=15.0
- DNS_UPDATE_TIMEOUT=30.0
2013-12-13 04:46:14 +01:00
- TEST_K="not dnstools and not ddns_client"
- TEST_OPTS=""
- COVERAGE=""
2013-12-13 02:40:39 +01:00
matrix:
- DJANGO=1.5.9
- DJANGO=1.6.6
2013-12-13 04:20:57 +01:00
matrix:
exclude:
- python: "2.7"
env: DJANGO=1.6.6
2013-12-13 04:20:57 +01:00
include:
- python: "2.7"
env: DJANGO=1.6.6 COVERAGE="coverage run -m" TEST_K="" TEST_OPTS="--pep8"
2013-11-19 06:09:20 +01:00
install:
2013-12-13 02:40:39 +01:00
- "pip install --use-mirrors Django==$DJANGO"
- "pip install --use-mirrors -e ."
- "pip install --use-mirrors coveralls"
2013-12-13 04:46:14 +01:00
script: $COVERAGE py.test $TEST_OPTS -k "$TEST_K"
after_success:
- coveralls
2013-11-19 06:35:57 +01:00
notifications:
email:
recipients:
- info@nsupdate.info