-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (46 loc) · 1.54 KB
/
.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
48
49
50
os: linux
dist: xenial
language: python
python:
- 3.5
- 3.6
- 3.7
- 3.8
env:
- DJANGO=2.2
- DJANGO=3.0
- DJANGO=3.1
install:
- pip install tox-travis
script:
- tox
stages:
- lint
- test
- deploy
jobs:
allow_failures:
- env: TOXENV=behave-latest
exclude:
# Python/Django combinations that aren't officially supported
- { python: 3.5, env: DJANGO=3.0 }
- { python: 3.5, env: DJANGO=3.1 }
include:
- { stage: lint, python: 3.7, env: TOXENV=flake8 }
- { stage: lint, python: 3.7, env: TOXENV=bandit }
- { stage: lint, python: 3.7, env: TOXENV=readme }
- { stage: test, python: 3.8, env: TOXENV=behave-latest }
- stage: deploy
if: tag is present
deploy:
provider: pypi
distributions: sdist bdist_wheel
username: bittner
password:
secure: ZDiKycFTX3hFqHkq3ujxoi5SJ6A4gqzCCCh8PYrnx+MYOQUdJNVpY4NyKXk2vk8AhpKcYWv0G9A2/XkmYTgVKdOscJooe4gKDF4RROZEpiuv7PSpxlpjy9kgfxtWIEirVjveloZm6woAdIP7pIIqJOtWVifDjk/4nnGEBRCJ6vc8aZjMMxkhwDTMNCGaGUeJvPy9L84AyaFECeHoF86cgw78xouwqojttwPrYPqQ6lyd7IIOalLRYAi5qmWt2rQW8ar31tl0bBcBsu8DONZnTE0OYtMI0fKnuiEt+aeVQ26/SJhSx2ajiACwEV2oOhwNPZqe4S60M6zgy/0d/LbaUSXadlH0G0tJPBuSVKu68ztG5JLVjNZFYgtzYpX9GV/lCmE7jpd2dmYsd3N74hLxcknGB4K8y++fqJfHrjJ+Ye37W/mK0qFIil6/gGSQ9RTkOlAvGgH4y1grwVQM1ySLeXCjChsCJhlfO/NMVhbrDsQA7VJ8xz36uTKE7tva5TYU0/zcj6Tsg/CoDuduiLLcfsqfAwdGhW0Az0oC41wkpSqHUYmMNnxbp0BM8fXsf0Bol4P8zunz6wNepmuvNXv5Fyoqor21nikwtPytGuamdrnBUW1FRpdRnFzJ3dF6qv3F9IQEiuQs3hCwwKI5xDxsgI62TOWmswqGqvMLxFCVaFk=
on:
tags: true
env:
install: skip
script: skip
python: 3.7