forked from pypa/setuptools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
80 lines (73 loc) · 2.09 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
77
78
79
80
dist: trusty
sudo: false
language: python
python:
- &latest_py2 2.7
- 3.4
- 3.5
- &latest_py3 3.6
- nightly
- pypy
- pypy3
jobs:
fast_finish: true
include:
- python: *latest_py3
env: LANG=C
- python: *latest_py2
env: LANG=C
- stage: deploy (to PyPI for tagged commits)
if: tag IS present
python: *latest_py3
install: skip
script: skip
after_success: true
before_deploy: python bootstrap.py
deploy:
provider: pypi
on:
tags: true
all_branches: true
user: jaraco
password:
secure: tfWrsQMH2bHrWjqnP+08IX1WlkbW94Q30f4d7lCyhWS1FIf/jBDx4jrEILNfMxQ1NCwuBRje5sihj1Ow0BFf0vVrkaeff2IdvnNDEGFduMejaEQJL3s3QrLfpiAvUbtqwyWaHfAdGfk48PovDKTx0ZTvXZKYGXZhxGCYSlG2CE6Y6RDvnEl6Tk8e+LqUohkcSOwxrRwUoyxSnUaavdGohXxDT8MJlfWOXgr2u+KsRrriZqp3l6Fdsnk4IGvy6pXpy42L1HYQyyVu9XyJilR2JTbC6eCp5f8p26093m1Qas49+t6vYb0VLqQe12dO+Jm3v4uztSS5pPQzS7PFyjEYd2Rdb6ijsdbsy1074S4q7G9Sz+T3RsPUwYEJ07lzez8cxP64dtj5j94RL8m35A1Fb1OE8hHN+4c1yLG1gudfXbem+fUhi2eqhJrzQo5vsvDv1xS5x5GIS5ZHgKHCsWcW1Tv+dsFkrhaup3uU6VkOuc9UN+7VPsGEY7NvquGpTm8O1CnGJRzuJg6nbYRGj8ORwDpI0KmrExx6akV92P72fMC/I5TCgbSQSZn370H3Jj40gz1SM30WAli9M+wFHFd4ddMVY65yxj0NLmrP+m1tvnWdKtNh/RHuoW92d9/UFtiA5IhMf1/3djfsjBq6S9NT1uaLkVkTttqrPYJ7hOql8+g=
distributions: release
skip_cleanup: true
skip_upload_docs: true
cache: pip
install:
# ensure we have recent pip/setuptools
- pip install --upgrade pip setuptools
# need tox to get started
- pip install tox tox-venv
# Output the env, to verify behavior
- env
# update egg_info based on setup.py in checkout
- python bootstrap.py
script:
- |
( # Run testsuite.
set -ex
case $TRAVIS_PYTHON_VERSION in
pypy*)
# Don't run coverage on pypy (too slow).
tox
;;
*)
tox -- --cov
;;
esac
)
after_success:
- |
( # Upload coverage data.
set -ex
case $TRAVIS_PYTHON_VERSION in
pypy*)
;;
*)
export TRAVIS_JOB_NAME="${TRAVIS_PYTHON_VERSION} (LANG=$LANG)" CODECOV_ENV=TRAVIS_JOB_NAME
tox -e coverage,codecov
;;
esac
)