43 lines
806 B
YAML
43 lines
806 B
YAML
sudo: required
|
|
|
|
language: python
|
|
|
|
os: linux
|
|
|
|
env:
|
|
global:
|
|
- SECRET_KEY=justfortravis
|
|
- DNS_RESOLVER_TIMEOUT=15.0
|
|
- DNS_UPDATE_TIMEOUT=30.0
|
|
- TEST_K="not ddns_client"
|
|
- TEST_OPTS=""
|
|
- COVERAGE=""
|
|
|
|
matrix:
|
|
include:
|
|
- python: "3.5"
|
|
dist: xenial
|
|
env: DJANGO=2.2
|
|
- python: "3.6"
|
|
dist: xenial
|
|
env: DJANGO=2.2
|
|
- python: "3.7"
|
|
dist: xenial
|
|
env: DJANGO=2.2
|
|
- python: "3.8"
|
|
dist: xenial
|
|
env: DJANGO=2.2 COVERAGE="coverage run -m" TEST_K="not ddns_client" TEST_OPTS="--pep8"
|
|
|
|
install:
|
|
- ./scripts/travis/install.sh
|
|
|
|
script: $COVERAGE py.test $TEST_OPTS -k "$TEST_K" -m "not requires_sequential"
|
|
|
|
after_success:
|
|
- coveralls
|
|
|
|
notifications:
|
|
email:
|
|
recipients:
|
|
- info@nsupdate.info
|