forked from urllib3/urllib3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
126 lines (107 loc) · 2.23 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
language: python
sudo: false
before_install:
- env
- openssl version
- python -c "import ssl; print(ssl.OPENSSL_VERSION)"
install:
- ./_travis/install.sh
script:
- ./_travis/run.sh
after_success:
- ./_travis/upload_coverage.sh
cache:
directories:
- ${HOME}/.cache
notifications:
email: false
env:
global:
- GAE_SDK_PATH=${HOME}/.cache/google_appengine
- PYTHONWARNINGS=always::DeprecationWarning
- PYPI_USERNAME=urllib3
# PYPI_PASSWORD is set in Travis control panel.
matrix:
- TOXENV=flake8-py3
- TOXENV=gae
- TOXENV=docs
matrix:
include:
- python: 2.7
env: TOXENV=py27
- python: 2.7
env: TOXENV=py27-nobrotli
- python: 3.4
env: TOXENV=py34
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: 3.7
env: TOXENV=py37
dist: xenial
sudo: required
- python: 3.7
env: TOXENV=py37-nobrotli
dist: xenial
sudo: required
- python: 3.8-dev
env: TOXENV=py38
dist: xenial
sudo: required
- python: pypy-5.4
env: TOXENV=pypy
- language: generic
os: osx
env: TOXENV=py27
- language: generic
os: osx
env: TOXENV=py34
- language: generic
os: osx
env: TOXENV=py35
- language: generic
os: osx
env: TOXENV=py36
- language: generic
os: osx
env: TOXENV=py37
# TODO: make these integration tests
- python: 2.7
env: DOWNSTREAM=requests
- python: 3.7
env: DOWNSTREAM=requests
dist: xenial
sudo: required
- python: 2.7
env: DOWNSTREAM=botocore
- python: 3.7
env: DOWNSTREAM=botocore
dist: xenial
sudo: required
allow_failures:
- python: pypy-5.4
deploy:
- provider: script
script: bash _travis/deploy.sh
skip_cleanup: true
on:
branch: master
repo: urllib3/urllib3
tags: true
python: 3.7
- provider: releases
api_key:
secure: ... # GitHub access token
name: "$TRAVIS_TAG"
body: "Release $TRAVIS_TAG"
draft: true
skip_cleanup: true
file_glob: true
file: dist/*
overwrite: true
on:
branch: master
repo: urllib3/urllib3
tags: true
python: 3.7