forked from twisted/twistedchecker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (37 loc) · 1.19 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
language: python
sudo: false
matrix:
include:
- python: 3.5
env: TOXENV=pyflakes
- python: 3.5
env: TOXENV=check-manifest
- python: 2.7
env: TOXENV=py27-tests
- python: 3.5
env: TOXENV=py35-tests
install:
- python -m pip install tox codecov
script:
- python -m tox -c tox.ini -e $TOXENV
after_script:
- codecov
# Do an automatic PyPi release when a tag is created.
# http://docs.travis-ci.com/user/deployment/pypi/
# Make sure builds are triggered for any push so that the tag push will also
# trigger a build.
deploy:
provider: pypi
# twistedchecker-robot is associated with adi.roiban email address from
# Gmail. It uses a random password which was not recorded in plain text.
user: twistedchecker-robot
password:
secure: Ah71pNOKdOqiL4OuNW3R0XM4lz4wpqHVM5xLFr+rrHNjM4jEh+ZjSmkOH8HiWmE1rCWUFBomap0vuEL8de5lucHcPwpA9fXmXGlUrKcJfjEA7Qp/oSP5nmf8cLb1zS62e/SYoxC5jTRGpCAXd0PZd5Mu4QG7MJFmT5l1xz0q2eQ=
distributions: "sdist bdist_wheel"
on:
tags: true
# Only release from a single job.
condition: "$TOXENV = py27-tests"
# All branches is still required.
# https://github.com/travis-ci/travis-ci/issues/1675
all_branches: true