2013-11-19 06:09:20 +01:00
|
|
|
language: python
|
|
|
|
python:
|
2013-12-12 01:27:36 +01:00
|
|
|
- "2.6"
|
2013-11-19 06:09:20 +01:00
|
|
|
- "2.7"
|
|
|
|
- "pypy"
|
2013-12-14 00:35:29 +01:00
|
|
|
- "3.3"
|
2014-08-27 17:53:52 +02:00
|
|
|
- "3.4"
|
2013-12-13 02:40:39 +01:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- SECRET_KEY=justfortravis
|
2013-12-13 03:04:00 +01:00
|
|
|
- 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=""
|
2013-12-13 04:06:59 +01:00
|
|
|
- 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:
|
2013-12-13 05:10:41 +01:00
|
|
|
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"
|
2014-08-28 13:38:14 +02:00
|
|
|
- "pip install --use-mirrors -r requirements.d/travis.txt"
|
2013-12-13 02:40:39 +01:00
|
|
|
- "pip install --use-mirrors -e ."
|
2014-09-02 00:14:24 +02:00
|
|
|
script: $COVERAGE py.test $TEST_OPTS -k "$TEST_K" -m "not requires_sequential"
|
2013-11-21 04:46:00 +01:00
|
|
|
after_success:
|
|
|
|
- coveralls
|
2013-11-19 06:35:57 +01:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- info@nsupdate.info
|