nsupdate.info/.travis.yml

36 lines
850 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:
2014-09-03 13:39:32 +02:00
- DJANGO=1.6.7
2013-12-13 04:20:57 +01:00
matrix:
exclude:
- python: "2.7"
2014-09-03 13:39:32 +02:00
env: DJANGO=1.6.7
2013-12-13 04:20:57 +01:00
include:
- python: "2.7"
2014-09-03 13:39:32 +02:00
env: DJANGO=1.6.7 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 -r requirements.d/travis.txt"
2013-12-13 02:40:39 +01:00
- "pip install --use-mirrors -e ."
script: $COVERAGE py.test $TEST_OPTS -k "$TEST_K" -m "not requires_sequential"
after_success:
- coveralls
2013-11-19 06:35:57 +01:00
notifications:
email:
recipients:
- info@nsupdate.info