Skip to content

Commit 28c3a35

Browse files
committed
Add test for python 3.8.
1 parent 1caa2f4 commit 28c3a35

File tree

2 files changed

+34
-5
lines changed

2 files changed

+34
-5
lines changed

deploy.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ pip install twine
1515

1616
mkdir dist
1717
cp build-py2/dist/* dist/
18-
cp build-py3/dist/* dist/
18+
cp build-py37/dist/* dist/
19+
cp build-py38/dist/* dist/
1920

2021
twine upload -r pypi dist/*

wercker.yml

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
box: python:3.7-slim
1+
box: python:3-slim
22

33
build:
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

0 commit comments

Comments
 (0)