Skip to content

Commit 0bb02c5

Browse files
committed
Add python 2.7 tests
1 parent 0a2c558 commit 0bb02c5

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.circleci/config.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ references:
2121
echo "MANYLINUX_PYTHON [${MANYLINUX_PYTHON}]"
2222
/opt/python/${MANYLINUX_PYTHON}/bin/pip install scikit-ci
2323
/opt/python/${MANYLINUX_PYTHON}/bin/ci
24+
if [ "${UPLOAD_SDIST}" == "tests-only" ]; then
25+
rm -f ./dist/*
26+
fi
2427
- persist_to_workspace:
2528
root: ./
2629
paths:
@@ -51,6 +54,10 @@ jobs:
5154
manylinux-x86_cp37-cp37m:
5255
<<: *x86_build_job
5356

57+
# python 2.7 tests
58+
manylinux-x64_cp27-cp27mu_tests-only:
59+
<<: *x64_build_job
60+
5461
deploy-master:
5562
docker:
5663
- image: circleci/python:3.7.0-stretch
@@ -89,12 +96,18 @@ workflows:
8996
- manylinux-x86_cp37-cp37m:
9097
<<: *no_filters
9198

99+
# python 2.7 tests
100+
- manylinux-x64_cp27-cp27mu_tests-only:
101+
<<: *no_filters
102+
92103
- deploy-master:
93104
requires:
94105
# x64
95106
- manylinux-x64_cp37-cp37m_upload-sdist
96107
# x86
97108
- manylinux-x86_cp37-cp37m
109+
# python 2.7 test
110+
- manylinux-x64_cp27-cp27mu_tests-only
98111
filters:
99112
branches:
100113
only: master
@@ -104,6 +117,8 @@ workflows:
104117
- manylinux-x64_cp37-cp37m_upload-sdist
105118
# x86
106119
- manylinux-x86_cp37-cp37m
120+
# python 2.7 test
121+
- manylinux-x64_cp27-cp27mu_tests-only
107122
filters:
108123
tags:
109124
only: /^[0-9]+(\.[0-9]+)*(\.post[0-9]+)?$/

0 commit comments

Comments
 (0)