-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
35 lines (29 loc) · 841 Bytes
/
.travis.yml
File metadata and controls
35 lines (29 loc) · 841 Bytes
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
sudo: required
dist: trusty
language: python
cache: pip
python:
- '3.6'
install:
- pip install -r requirements.txt && pip install coveralls pylint
- git clone https://github.com/"${TRAVIS_REPO_SLUG%%/*}"/vanir-builder ~/vanir-builder
script:
- PYTHONPATH=test-packages pylint --rcfile=ci/pylintrc vanir vanirpolicy
- ./run-tests --no-syslog
- ~/vanir-builder/scripts/travis-
- python manage.py collectstatic --noinput
- coverage run --rcfile .coveragerc manage.py test
- pylint devel main mirrors news packages releng templates todolists visualize *.py
after_success:
- codecov -F unittests
- ~/vanir-builder/scripts/travis-deploy
- coveralls
# don't build tags which are meant for code signing only
branches:
except:
- /.*_.*/
addons:
apt:
packages:
- debootstrap
# vim: ts=2 sts=2 sw=2 et