forked from cool-RR/PySnooper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
47 lines (41 loc) · 774 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
dist: xenial
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
- 3.7
- 3.8-dev
- pypy2.7-6.0
- pypy3.5
install:
- pip install tox-travis
script:
- tox
stages:
- lint
- test
- deploy
matrix:
allow_failures:
- env: TOXENV=flake8
- env: TOXENV=pylint
- env: TOXENV=bandit
jobs:
include:
- { stage: lint, python: 3.7, env: TOXENV=flake8 }
- { stage: lint, python: 3.7, env: TOXENV=pylint }
- { stage: lint, python: 3.7, env: TOXENV=bandit }
- { stage: lint, python: 3.7, env: TOXENV=readme }
- stage: deploy
install: skip
script: skip
deploy:
provider: pypi
distributions: sdist bdist_wheel
user: cool-RR
password:
secure: <your-pypi-password-here-encrypted-using-the-travis-cli>
on:
tags: true