forked from sphinx-contrib/httpdomain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (31 loc) · 1.47 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
language: python
python: [3.6, 3.5, 2.7]
branches:
only:
- main
install:
- pip install tox-travis
script:
- tox
- '[[ "$TRAVIS_TAG" = "" ]] || [[ "$TRAVIS_TAG" = "$(python setup.py --version)" ]]'
- |
env | grep TRAVIS | sort
set -x
if git show --format=%B --quiet "${TRAVIS_PULL_REQUEST_SHA:-${TRAVIS_TAG:-${TRAVIS_COMMIT}}}" \
| grep '\[changelog skip\]' > /dev/null; then
echo "Skip changelog checker..."
elif [[ "$TRAVIS_TAG" != "" ]]; then
! grep -i "to be released" doc/changelog.rst
else
[[ "$TRAVIS_COMMIT_RANGE" = "" ]] || \
[[ "$(git diff --name-only "$TRAVIS_COMMIT_RANGE" | grep doc/changelog\.rst)" != "" ]]
fi
deploy:
provider: pypi
distributions: 'sdist bdist_wheel'
on:
tags: true
python: 3.6
user: sphinxcontrib-httpdomain
password:
secure: "G7t+FEC00x4cuM7jaXeV2MPy5tTn2YL+JztqUJMsDWMo4TLCBmn8Fet1cZEago35Ey2W3vxDcm8Od94KkBUnSwRiAghXDU9MytlHDqnuIH5J51qlU1XSVSGOj4pMLP8n3GEi2wjvt2RLRMTH2ShBaUpRNeVvxHanGTa4YwKZwheAdUVVz0d+IPdFHf2GxS+yRuPDbvWrXOh5rGR2AxvYC/5srin8cIeOrMKh6nE0sSYyI/DNQoLiokVe1GBBCavC1J6xnU5IRA5HnFto0zrpG66ESJWvb3e30lwcRHxLC20OEZ5S/UT8jOrkqZNrGFGqhWgC3FPquUP4OVddD21yn/MfhgO2viGMfw/4YXBNoVac8ATOCK4AhqrWp3EQj772boU+BrvIYfo2yrE/zBkgACZ6chsU6NJVCeiWwrCD5z/IHFXy9UqBK2PwNlioH0P9cHWbgytTr1ZgHUXKE3GuoA61a07QHCRrUYaTr+GHS1DEMrWouqSANUrA61c91m4VuqovoEBuoBtiAXfacAM8renJG7xXrBmAYMrUH5PmMozmyrQFb3Dh130DL5ltEpAidvbnSGKZCIpBCmf4GXKapz1Sr0nyBXE9Oc1ZqQYgI0NtsPUL4aunPsmlmT2UoA6a3ScvwWJeu7kcmgdYFSaaWUzTSzRqgugr7h/DTkMhn7g="