-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
42 lines (40 loc) · 1.34 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
sudo: false
language: python
install:
- pip install -r requirements-dev.txt
stages:
- test
- name: deploy
if: tag IS present
jobs:
include:
- python: 3.5
env: TOXENV=py35 RUN_CODECOV=1
- python: 3.6
env: TOXENV=py36 RUN_CODECOV=1
- python: 3.7
env: TOXENV=py37 RUN_CODECOV=1
dist: xenial
sudo: true
- python: 3.6
env: TOXENV=lint
- stage: deploy
python: 3.6
script: skip
before_install: skip
install: skip
deploy:
provider: pypi
user: jerry-pypi
on:
tags: true
password:
secure: IBcWIWzNB8WvPho+9B/zJWjxmLjt+L9URTODyPSyskxGcRaMmjHJ7J2ajQ47SuNa866UB/efHnIpCAXWDwsypNlHRa9+IAvh6Dj+33cwXPnFS48shZbtx80xz5KB6du+aGRQDrDkXze6grQeKEGstlL7tTk/ovys03paoGVwm4Z6o+NilX/3pLaML/i9FIaa+YZrrz8SIQtlIpgAnOb+7Yg5kuvpXC89bmTQc4J3FU0fF/FmgmQ+9qG/OcD3NP62rhSf+BmcRXPVERdmYPm61c3ifMmP0pVmphsulGCTb7vkhVyvyLnN+4EpRndLfRI1tklAPPA3rF+EaSaHK3u7Ch334YTfPQjSL8nZzqcGHqMt/S9zVzMddB0JeHLxIIhE2Ty8JWwnAuY8QADkmMw9+XqoZZ0gBlJ6rIIUSMhSE8YRQfAnRpxe9XwJRZEhCvB3qcuDIgFLswGJucHMeSvqk2pGGD9jS3x+5AO/b25y4gCYN4/a64fbGB0hfeMcFA5Th+ITn/Mbbs71WLZSiefUhIy2v2kNaujrlDUyNgmA6/iif5n1QN+95PnM07PrCBQpLg6awT62neiBZ2bk1O1OO+7rwOJvWX/2otvxv29Wzn+67J6U5Fr4tMCS+qWUgku6xv78ZcL/M+VCdY6/kF/GTB9olnNIsCZbp1jtU3Qmv90=
script:
- tox
after_success:
- |
if [[ "$RUN_CODECOV" == 1 ]]; then
pip install codecov
codecov
fi