Renaming test 04_skip to 04_build_skip and amending it to test CIBW_BUILD as well

This commit is contained in:
Yannick Jadoul
2018-09-23 13:07:28 +02:00
parent 05a054245a
commit c108807e16
5 changed files with 7 additions and 6 deletions
+4
View File
@@ -0,0 +1,4 @@
{
"CIBW_BUILD": "cp3?-*",
"CIBW_SKIP": "cp33-*"
}
@@ -2,9 +2,9 @@ from setuptools import setup, Extension
import sys
if sys.argv[-1] != '--name':
# explode if run on Python 2.6 or Python 3.3 (these should be skipped)
if sys.version_info[0:2] == (2, 6):
raise Exception('Python 2.6 should be skipped')
# explode if run on Python 2.7 or Python 3.3 (these should be skipped)
if sys.version_info[0:2] == (2, 7):
raise Exception('Python 2.7 should not be built')
if sys.version_info[0:2] == (3, 3):
raise Exception('Python 3.3 should be skipped')
-3
View File
@@ -1,3 +0,0 @@
{
"CIBW_SKIP": "cp26-* cp33-*"
}