forked from coddingtonbear/django-measurement
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (38 loc) · 837 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
language: python
sudo: false
cache: pip
python: 3.6
env:
matrix:
- DJANGO=111
- DJANGO=20
- DJANGO=master
- TOXENV=qa
- TOXENV=docs
matrix:
fast_finish: true
allow_failures:
- env: DJANGO=master
install:
- pip install --upgrade pip tox
- pip install -U codecov
before_script:
- |
if [[ -z $TOXENV ]]; then
export TOXENV=py$(echo $TRAVIS_PYTHON_VERSION | sed -e 's/\.//g')-dj$DJANGO
fi
- echo $TOXENV
script:
- tox -e $TOXENV
after_success:
- codecov
deploy:
provider: pypi
user: codingjoe
password:
secure: a5tlCZBkW+ZaTq0ZAJX5nrucGbzV3TCPxY5wWBTrcFDynGVhSEkN/xG3obxi9dNxRP3Y/iTDZp+CUJraUxHehbsFZ7vtRWXWOnhWeJrlVrc0/KPmMWpHOAbTZ/UIZZfn8q362HAb8c6BcrAWOK00Bpt3DBIzzGXvsg2sdcrpW4k=
on:
tags: true
distributions: sdist bdist_wheel
repo: coddingtonbear/django-measurement
branch: master