-
Notifications
You must be signed in to change notification settings - Fork 74
/
Copy path.travis.yml
49 lines (47 loc) · 898 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
48
49
language: python
python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "pypy"
- "pypy3"
install: pip install tox-travis codecov
script: tox
after_success: codecov
stages:
- test
- lint
- name: deploy
if: tag IS present
jobs:
fast_finish: true
include:
- stage: lint
python: 3.7
env: TOXENV=black
- python: 3.7
env: TOXENV=mypy
- python: 3.7
env: TOXENV=pylint
- python: 3.7
env: TOXENV=vulture
- stage: deploy
python: 3.7
install: true
script: true
after_success: true
deploy:
- provider: pypi
user: "__token__"
skip_existing: true
distributions: "sdist bdist_wheel"
on:
branch: master
tags: true
- provider: script
script: ./scripts/build_and_publish_docker.sh
on:
branch: master
tags: true