forked from linkchecker/linkchecker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
66 lines (66 loc) · 1.46 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
dist: bionic
language: python
python:
- "3.6"
- "3.7"
- "3.8"
- "3.9-dev"
jobs:
include:
- python: "3.6"
env: TOXENV=oldbs4
- name: flake8
env: TOXENV=flake8
before_script:
after_success:
- name: check-manifest
env: TOXENV=check-manifest
before_script:
after_success:
- name: sphinx
python: "3.6"
addons:
apt:
packages:
- graphviz
- mandoc
install:
- pip install -r requirements.txt
- pip install Sphinx sphinx-epytext sphinx-intl sphinx-rtd-theme
before_script:
- python3.6 setup.py build
script:
- make -C doc code
- make -C doc html
- make -C doc locale
- make -C doc man
- make -C doc check
after_success:
# command to install dependencies
addons:
apt:
packages:
- clamav-daemon
- geoip-database
- libgeoip-dev
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
cache:
pip: true
directories:
- /var/lib/clamav/