django-model-utils/.travis.yml
Lucas Wiman c16a275bd7 Use --cov-append option in travis build to include coverage data from all tox environments run on the travis environment.
Note that it is run as one per python version, but multiple versions of django are tested in each.
2018-06-28 13:46:39 -07:00

23 lines
634 B
YAML

sudo: false
language: python
cache: pip
python:
- 2.7
- 3.4
- 3.5
- 3.6
install: pip install tox-travis codecov
# positional args ({posargs}) to pass into tox.ini
script: tox -- --cov --cov-append
after_success: codecov
deploy:
provider: pypi
user: jazzband
server: https://jazzband.co/projects/django-model-utils/upload
distributions: sdist bdist_wheel
password:
secure: JxUmEdYS8qT+7xhVyzmVD4Gkwqdz5XKxoUhKP795CWIXoJjtlGszyo6w0XfnFs0epXtd1NuCRXdhea+EqWKFDlQ3Yg7m6Y/yTQV6nMHxCPSvicROho7pAiJmfc/x+rSsPt5ag8av6+S07tOqvMnWBBefYbpHRoel78RXkm9l7Mc=
on:
tags: true
repo: jazzband/django-model-utils
python: 3.6