diff --git a/test/04_build_skip/environment.json b/test/04_build_skip/environment.json new file mode 100644 index 00000000..06a0eb59 --- /dev/null +++ b/test/04_build_skip/environment.json @@ -0,0 +1,4 @@ +{ + "CIBW_BUILD": "cp3?-*", + "CIBW_SKIP": "cp33-*" +} diff --git a/test/04_skip/setup.py b/test/04_build_skip/setup.py similarity index 64% rename from test/04_skip/setup.py rename to test/04_build_skip/setup.py index 8d25ca60..f4434cf0 100644 --- a/test/04_skip/setup.py +++ b/test/04_build_skip/setup.py @@ -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') diff --git a/test/04_skip/spam.c b/test/04_build_skip/spam.c similarity index 100% rename from test/04_skip/spam.c rename to test/04_build_skip/spam.c diff --git a/test/04_skip/version.txt b/test/04_build_skip/version.txt similarity index 100% rename from test/04_skip/version.txt rename to test/04_build_skip/version.txt diff --git a/test/04_skip/environment.json b/test/04_skip/environment.json deleted file mode 100644 index a19912ba..00000000 --- a/test/04_skip/environment.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "CIBW_SKIP": "cp26-* cp33-*" -}