forked from python-lz4/python-lz4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
180 lines (179 loc) · 5.55 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
matrix:
include:
- name: linux-py36
language: python
python: 3.6
dist: focal
sudo: required
services:
- docker
env:
- CIBW_BUILD=cp36-*
- name: linux-py37
language: python
python: 3.7
dist: focal
sudo: required
services:
- docker
env:
- CIBW_BUILD=cp37-*
- name: linux-py37
arch: arm64
language: python
python: 3.7
dist: focal
sudo: required
services:
- docker
env:
- PIP_NO_CACHE_DIR=off
- CIBW_BUILD=cp37-manylinux_aarch64
install:
- python -m pip install -U pip
- python -m pip install cibuildwheel==1.7.4
- python -m pip install codecov tox twine
script:
- tox tests
- codecov
- git config --global user.email "[email protected]"
- git config --global user.name "junk"
- git stash --all # Restore fresh checkout
- cibuildwheel --output-dir dist
- name: linux-py38
language: python
python: 3.8
dist: focal
sudo: required
services:
- docker
env:
- CIBW_BUILD=cp38-*
- name: linux-py38
arch: arm64
language: python
python: 3.8
dist: focal
sudo: required
services:
- docker
env:
- PIP_NO_CACHE_DIR=off
- CIBW_BUILD=cp38-manylinux_aarch64
install:
- python -m pip install -U pip
- python -m pip install cibuildwheel==1.7.4
- python -m pip install codecov tox twine
script:
- tox tests
- codecov
- git config --global user.email "[email protected]"
- git config --global user.name "junk"
- git stash --all # Restore fresh checkout
- cibuildwheel --output-dir dist
- name: linux-py39
language: python
python: 3.9
dist: focal
sudo: required
services:
- docker
env:
- CIBW_BUILD=cp39-*
- name: linux-py39
arch: arm64
language: python
python: 3.9
dist: focal
sudo: required
services:
- docker
env:
- PIP_NO_CACHE_DIR=off
- CIBW_BUILD=cp39-manylinux_aarch64
install:
- python -m pip install -U pip
- python -m pip install cibuildwheel==1.7.4
- python -m pip install codecov tox twine
script:
- tox tests
- codecov
- git config --global user.email "[email protected]"
- git config --global user.name "junk"
- git stash --all # Restore fresh checkout
- cibuildwheel --output-dir dist
- name: osx-py36
os: osx
osx_image: xcode12.2
language: generic
env:
- CIBW_BUILD=cp36-*
- CIBW_TEST_COMMAND="pushd {project}; tox tests ; popd"
- CIBW_BEFORE_BUILD="python -m pip install -U pip; python -m pip install tox twine"
install:
- python3 -m pip install cibuildwheel==1.7.4
- python3 -m pip install twine
script:
- cibuildwheel --output-dir dist
- name: osx-py37
os: osx
osx_image: xcode12.2
language: generic
env:
- CIBW_BUILD=cp37-*
- CIBW_TEST_COMMAND="pushd {project}; tox tests ; popd"
- CIBW_BEFORE_BUILD="python -m pip install -U pip; python -m pip install tox twine"
install:
- python3 -m pip install cibuildwheel==1.7.4
- python3 -m pip install twine
script:
- cibuildwheel --output-dir dist
- name: osx-py38
os: osx
osx_image: xcode12.2
language: generic
env:
- CIBW_BUILD=cp38-*
- CIBW_TEST_COMMAND="pushd {project}; tox tests ; popd"
- CIBW_BEFORE_BUILD="python -m pip install -U pip; python -m pip install tox twine"
install:
- python3 -m pip install cibuildwheel==1.7.4
- python3 -m pip install twine
script:
- cibuildwheel --output-dir dist
- name: osx-py39
os: osx
osx_image: xcode12.2
language: generic
env:
- CIBW_BUILD=cp39-*
- CIBW_TEST_COMMAND="pushd {project}; tox tests ; popd"
- CIBW_BEFORE_BUILD="python -m pip install -U pip; python -m pip install tox twine"
install:
- python3 -m pip install cibuildwheel==1.7.4
- python3 -m pip install twine
script:
- cibuildwheel --output-dir dist
install:
- python -m pip install -U pip
- python -m pip install cibuildwheel==1.7.4
- python -m pip install codecov tox twine
script:
- tox tests
- codecov
- git config --global user.email "[email protected]"
- git config --global user.name "junk"
- git stash --all # Restore fresh checkout
- cibuildwheel --output-dir dist
deploy:
- provider: pypi
# server: https://test.pypi.org/legacy/
user: jgu
password:
secure: "K1HppGu970i6WBKfnjQbCo0A0cYPih2rfM/rIDRzQXS8t+ZckyBywiKq/+4pkNJAfaHhQ8bHSz2J1GCq3Wz6DloGFHqEKAoHy5OgJxaK5nEp6avYvyHBSxrcZ6UfwFGMMMTAy4vfhnoJ3ARHaUFE4EIWYCVvP8/yCsE/6ir8AfozTssdYTUioJaYjSnowJ38nqa8H3hK3K5gke8aeclB+lnnWcyakgot65MfL2ov2mkkpWeiEn44ldV2iRKcl9a7Utgq3tJ1A634eUiNvIPpBYxnxPe++VRHA/mov9BWX0XfTmDuiVr+zDgMWdt3BK7f21r6P5DndpCZb8C2WzBFMKVz+rbuspbVJTol9Nt/9sVvSS6/fEBpXooRHRr9nP9EIt8Jlyv4CZ3iX/+T/912s84ZQCgqrhFNnRvECpmiVtHg49GecnMtJqC4jW57527c//oQPFyv/84Fd7fZ5jZg4LwhCl1C04Sqjmx8MFuMCR829CcZXJ2dAa5hQ/1v44SJAOKCQ0zDSdTqAy6x9RK/KNxnoQ9Nbn6ZFBUcjKx6rofyvXlwIcsQsjuzLw2mqmavZPduavVRi6cxK1WCEnaBVOXODWUSDatWchch1OcBm46X9UwwnHTsDHCVh6Bw+BDXhZuNw/72UA8z0sU/Val8iXBeThu33PMh3fo+uoqDf1g="
distributions: "sdist"
skip_existing: true
skip_cleanup: true
on:
branch: master
tags: true