linkchecker/.travis.yml
2019-10-22 17:21:53 +03:00

37 lines
781 B
YAML

language: python
python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
# command to install dependencies
addons:
apt:
packages:
- clamav-daemon
install:
- pip install tox-travis coveralls
before_script:
# we need to download the clamav signature database before the daemon will run
- sudo service clamav-freshclam stop
- sudo freshclam
- sudo service clamav-daemon restart
- sudo service clamav-daemon status
- while ! test -S /var/run/clamav/clamd.ctl; do printf "."; sleep 1; done
# command to run tests
script:
- tox
# do not send emails of broken builds
notifications:
email: false
after_script:
- coveralls
matrix:
allow_failures:
- python: "3.5"
- python: "3.6"
- python: "3.7"
cache:
pip: true
directories:
- /var/lib/clamav/