File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ language : python
2+ jobs :
3+ include :
4+ - name : " Linux py35:py38"
5+ services : docker
6+ sudo : required
7+ language : python
8+ python : 3.8
9+ env :
10+ - CIBW_BUILD="cp35-* cp36-* cp37-* cp38-*"
11+
12+ - name : " MacOS py35:py38"
13+ os : osx
14+ language : shell
15+ env :
16+ - CIBW_BUILD="cp35-* cp36-* cp37-* cp38-*"
17+
18+ - name : " Windows py35:py38"
19+ os : windows
20+ language : shell
21+ before_install :
22+ - choco install python --version 3.8.0
23+ - export PATH="/c/Python38:/c/Python38/Scripts:$PATH"
24+ # make sure it's on PATH as 'python3'
25+ - ln -s /c/Python38/python.exe /c/Python38/python3.exe
26+ env :
27+ - CIBW_BUILD="cp35-* cp36-* cp37-* cp38-*"
28+ env :
29+ global :
30+ - TWINE_USERNAME=__token__
31+ - CIBW_BEFORE_ALL="python3 setup.py build_external"
32+ install :
33+ - python3 -m pip install --upgrade setuptools wheel
34+ - python3 -m pip install cibuildwheel==1.6.1
35+ script :
36+ - python3 -m cibuildwheel --output-dir dist
37+ after_success :
38+ # if the release was tagged, upload them to PyPI
39+ - |
40+ if [[ $TRAVIS_TAG ]]; then
41+ python3 -m pip install twine
42+ python3 -m twine upload --verbose --skip-existing dist/*
43+ fi
44+
You can’t perform that action at this time.
0 commit comments