forked from codingjoe/django-vies
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (47 loc) · 951 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
47
language: python
sudo: false
dist: trusty
cache: pip
python:
- '2.7'
- '3.5'
- '3.6'
env:
matrix:
- DJANGO=18
- DJANGO=110
- DJANGO=111
- DJANGO=master
- TOXENV=qa
matrix:
fast_finish: true
allow_failures:
- env: DJANGO=master
exclude:
- env: DJANGO=master
python: '2.7'
- env: TOXENV=qa
python: '2.7'
- env: TOXENV=qa
python: '3.5'
install:
- pip install --upgrade pip tox coveralls
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:
- coveralls
deploy:
provider: pypi
user: codingjoe
password:
secure: G8ApGxb9eZ0kOiHVPz1x6CMbr2PxPPtWGSz8GGgNnEi92tA8aNv2gmOzZU1SLQqJT15SSOAcDCvUwlV1U5CGlVNn1WjTLVpM57T1vmPK/gErgmJmpG4Z8Y/5sN4Zb1v8P4z//+UZtzZrO8hVdDscPYI5e0yowaB/Wz6TJnTcaPM=
on:
tags: true
distributions: sdist bdist_wheel
repo: codingjoe/django-vies