forked from RDFLib/rdflib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (39 loc) · 1.05 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
# http://travis-ci.org/#!/RDFLib/rdflib
os: linux
arch:
- amd64
- ppc64le
language: python
branches:
only:
# only build master and release branches (merge request are built anyhow)
- master
- /^\d+\.\d+\.\d+(-.*)?$/
git:
depth: 3
python:
- 3.6
- 3.7
- 3.8
jobs:
include:
- python: 3.8
dist: focal
before_install:
- pip install -U setuptools pip # seems travis comes with a too old setuptools for html5lib
- bash .travis.fuseki_install_optional.sh
install:
- pip install --default-timeout 60 -r requirements.txt
- pip install --default-timeout 60 -r requirements.dev.txt
- pip install --default-timeout 60 coveralls && export HAS_COVERALLS=1
- python setup.py install
before_script:
- flake8 --exit-zero rdflib
script:
- PYTHONWARNINGS=default nosetests --with-timer --timer-top-n 42 --with-coverage --cover-tests --cover-package=rdflib
- coverage report
after_success:
- if [[ $HAS_COVERALLS ]] ; then coveralls ; fi
notifications:
irc:
channels: "chat.freenode.net#rdflib"