forked from mwarkentin/django-watchman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (38 loc) · 1004 Bytes
/
.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
dist: xenial
language: python
python:
- "3.8"
- "3.7"
- "3.6"
- "3.5"
env:
matrix:
- DJANGO_VERSION=2.2
- DJANGO_VERSION=3.0
matrix:
exclude:
- python: "3.5"
env: DJANGO_VERSION=3.0
install:
- pip install tox coveralls
# command to run tests using coverage, e.g. python setup.py test
script:
- tox -e py${TRAVIS_PYTHON_VERSION//./}-dj${DJANGO_VERSION//./},coverage
# report coverage to coveralls.io
after_success: coveralls
notifications:
slack: tobalabs:XPt5OlsKuFGgIQZp0DpNXBUl
jobs:
include:
- stage: pypi release
if: tag IS present
python: "3.7"
script: echo "Deploying to pypi ..."
deploy:
provider: pypi
user: mwarkentin
password:
secure: "cQtAP8fMu+KzfBKG3ibTTXmDGZuz/FBp8RrLI8ddMGV4Jj5ElZLsvbqU43fiHbtVPV/uALDPF76WNGlpRH1P4w9m4XrFNCvkrnjtwIk7NZWi7uubWZcqQk9VE7MTP+i2IYrtNlGmlq1dbdJZcwS0mdzJcAAhAaP830Ekmqws9xE="
distributions: "sdist bdist_wheel"
on:
tags: true