forked from pycontribs/jira
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
76 lines (75 loc) · 2.65 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
---
language: python
dist: xenial
# Build only commits on master and release tags for the "Build pushed branches" feature.
# This prevents building twice on PRs originating from our repo ("Build pushed pull requests)".
# See:
# - https://github.com/travis-ci/travis-ci/issues/1147
# - https://docs.travis-ci.com/user/pull-requests/#double-builds-on-pull-requests
branches:
only:
- master
- /^\d+\.\d+(\.\d+)?(-\S*)?$/
cache:
bundler: true
pip: true
directories:
- $HOME/.cache/pre-commit
- $HOME/.pre-commit
- $HOME/.rvm
- $HOME/Library/Caches/Homebrew
os:
- linux
stages:
- maintenance
- test
- deploy
before_install:
- pip install --upgrade tox tox-venv
- rm -rf .tox
notifications:
email:
- pycontribs@googlegroups.com
jobs:
include:
- stage: maintenance
script:
- python -m tox -e maintenance
if: type = cron
- script:
- python -m tox
env: TOXENV="lint,docs,pkg,py37"
python: "3.7"
after_success:
- bash <(curl -s https://codecov.io/bash) -e py37
- script: python -m tox
python: "3.6"
env: TOXENV=py36 PYTHON='3.6'
after_success:
- bash <(curl -s https://codecov.io/bash) -e TOXENV
- script: python -m tox
python: "3.5"
env: TOXENV=py35
after_success:
- bash <(curl -s https://codecov.io/bash) -e TOXENV
- stage: deploy
script:
- tox -e upload
if: tag IS present AND type != cron
deploy:
- provider: releases
api_key:
secure: YJGigSNYOzMJqs23gIZLFxiVYRqHdV4WsTZmRVosishD2QIaDlTwJma7k6Y5eMPVNdLpqo7Tq6bt7xkJAz/dcr3UO35T/Y0tiRFFW3sd6IOB6ELwSwPhSeHoyUMvZtKyDTl+9tOfeZusFZuCc+mBLQcG+S2NzEaeyrQ6n5hTT/8FGBP91FOq9l5q2gYbmACZ9MisDIjZkTHNYih36ComnZ9QHC91jHKcSuHmOfWWX3GneDVFtuPhF2vjaLQrz8IFtWGW5Sfe35yDYlVQRH+NFxzSJ2zDuT5j8cRgwXjGout78umtMsqAn+zv1Ws/MUNKMTEtONsACndMpGCkuB6Nifl/KcGj5kD7V4PO/gE0ecr830qAwJxSVB7xk6rl797nMxGbr4w2DWQ/iDdHDTlPAEzbLBMLrMRgPxzKPgg5CNxxjT1cHoBNcFPp6gaf017w4XOVUgp/zxXeCg7iGiNJj7z2t8/m9eYVNNlNRPcodN6BjSjPqkYxC3ZMVCI5KsRXbHmR0zOWbPdcRjrY/IgbiTqX09sHotHw5GThP6YTMbienC4h93cdx6MEfX656W6XMOxpC+MjWtYuV8QlfMEJFlstOnA86MVLcmbl+4A6FHuvlQMdDtP9KsKdKIf/4juGhNEFir32P1rUe8J1abmjwXmDkHVbli0SDqaFtB5gyCc=
file_glob: true
file:
- dist/*
- ChangeLog
skip_cleanup: true
on:
tags: true
repo: pycontribs/jira
branch: master
env:
global:
- secure: "pGQGM5YmHvOgaKihOyzb3k6bdqLQnZQ2OXO9QrfXlXwtop3zvZQi80Q+01l230x2psDWlwvqWTknAjAt1w463fYXPwpoSvKVCsLSSbjrf2l56nrDqnoir+n0CBy288+eIdaGEfzcxDiuULeKjlg08zrqjcjLjW0bDbBrlTXsb5U="
- PIP_DISABLE_PIP_VERSION_CHECK=1