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
@@ -64,5 +92,4 @@ deploy:
6492 - script :
6593 name : deploy to pypi
6694 code : |
67- cd build-py3
6895 sh deploy.sh
0 commit comments