File tree Expand file tree Collapse file tree 2 files changed +34
-5
lines changed Expand file tree Collapse file tree 2 files changed +34
-5
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ pip install twine
1515
1616mkdir dist
1717cp build-py2/dist/* dist/
18- cp build-py3/dist/* dist/
18+ cp build-py37/dist/* dist/
19+ cp build-py38/dist/* dist/
1920
2021twine upload -r pypi dist/*
Original file line number Diff line number Diff line change 1- box : python:3.7 -slim
1+ box : python:3-slim
22
33build :
44 steps :
@@ -13,7 +13,7 @@ build-py2:
1313
1414 - virtualenv :
1515 name : setup virtual environment
16- install_wheel : true # Enable wheel to speed up builds (experimental)
16+ install_wheel : true
1717
1818 - script :
1919 name : echo python information
@@ -31,7 +31,7 @@ build-py2:
3131 code : |
3232 python setup.py test
3333
34- build-py3 :
34+ build-py37 :
3535 box : python:3.7-slim
3636 steps :
3737 - script :
@@ -41,7 +41,35 @@ build-py3:
4141
4242 - virtualenv :
4343 name : setup virtual environment
44- install_wheel : true # Enable wheel to speed up builds (experimental)
44+ install_wheel : true
45+
46+ - script :
47+ name : echo python information
48+ code : |
49+ echo "python version $(python --version) running"
50+ echo "pip version $(pip --version) running"
51+
52+ - script :
53+ name : build
54+ code : |
55+ python setup.py sdist bdist_wheel
56+
57+ - script :
58+ name : test
59+ code : |
60+ python setup.py test
61+
62+ build-py38 :
63+ box : python:3.8-slim
64+ steps :
65+ - script :
66+ name : virtualenv install
67+ code : |
68+ pip install virtualenv
69+
70+ - virtualenv :
71+ name : setup virtual environment
72+ install_wheel : true
4573
4674 - script :
4775 name : echo python information
You can’t perform that action at this time.
0 commit comments