2016-08-14 00:22:59 +02:00
|
|
|
sudo: required
|
|
|
|
|
2013-11-19 06:09:20 +01:00
|
|
|
language: python
|
2016-08-14 00:22:59 +02:00
|
|
|
|
|
|
|
os: linux
|
|
|
|
|
|
|
|
dist: trusty
|
|
|
|
|
2013-11-19 06:09:20 +01:00
|
|
|
python:
|
|
|
|
- "2.7"
|
|
|
|
- "pypy"
|
2014-08-27 17:53:52 +02:00
|
|
|
- "3.4"
|
2015-12-28 20:55:37 +01:00
|
|
|
- "3.5"
|
2017-01-21 02:08:04 +01:00
|
|
|
- "3.6"
|
2016-08-14 00:22:59 +02:00
|
|
|
|
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
|
2016-08-14 00:22:59 +02:00
|
|
|
- TEST_K="not ddns_client"
|
2013-12-13 04:46:14 +01:00
|
|
|
- TEST_OPTS=""
|
2013-12-13 04:06:59 +01:00
|
|
|
- COVERAGE=""
|
2013-12-13 02:40:39 +01:00
|
|
|
matrix:
|
2015-12-28 20:55:37 +01:00
|
|
|
- DJANGO=1.8.1
|
2016-08-14 00:22:59 +02:00
|
|
|
|
2013-12-13 04:20:57 +01:00
|
|
|
matrix:
|
2013-12-13 05:10:41 +01:00
|
|
|
exclude:
|
|
|
|
- python: "2.7"
|
2015-12-28 20:55:37 +01:00
|
|
|
env: DJANGO=1.8.1
|
2017-01-21 02:08:04 +01:00
|
|
|
- python: "3.6"
|
|
|
|
env: DJANGO=1.8.1
|
2013-12-13 04:20:57 +01:00
|
|
|
include:
|
|
|
|
- python: "2.7"
|
2016-08-14 00:22:59 +02:00
|
|
|
env: DJANGO=1.8.1 COVERAGE="coverage run -m" TEST_K="not ddns_client" TEST_OPTS="--pep8"
|
2017-01-21 02:08:04 +01:00
|
|
|
- python: "3.6"
|
|
|
|
env: DJANGO=1.8.17
|
|
|
|
allow_failures:
|
|
|
|
- python: "3.6"
|
2016-08-14 00:22:59 +02:00
|
|
|
|
2013-11-19 06:09:20 +01:00
|
|
|
install:
|
2016-08-14 00:22:59 +02:00
|
|
|
- ./scripts/travis/install.sh
|
|
|
|
|
2014-09-02 00:14:24 +02:00
|
|
|
script: $COVERAGE py.test $TEST_OPTS -k "$TEST_K" -m "not requires_sequential"
|
2016-08-14 00:22:59 +02:00
|
|
|
|
2013-11-21 04:46:00 +01:00
|
|
|
after_success:
|
|
|
|
- coveralls
|
2016-08-14 00:22:59 +02:00
|
|
|
|
2013-11-19 06:35:57 +01:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- info@nsupdate.info
|