From bcfcc85ef3dbd0f06ec100a1e59bc28a85517121 Mon Sep 17 00:00:00 2001 From: diginc Date: Sun, 5 Nov 2017 21:30:07 -0600 Subject: [PATCH] removed impossible testing combos --- .travis.yml | 2 +- Dockerfile.py | 9 +++++---- test/conftest.py | 5 ++++- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index a2511d3..2ba8dc7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ env: - OS=debian ARCH=aarch64 - OS=alpine ARCH=amd64 - OS=alpine ARCH=armhf - - OS=alpine ARCH=aarch64 + # - OS=alpine ARCH=aarch64 # Impossible combo :( python: - "2.7" install: diff --git a/Dockerfile.py b/Dockerfile.py index 89f9055..8188c42 100755 --- a/Dockerfile.py +++ b/Dockerfile.py @@ -64,10 +64,11 @@ images = { 'base': 'multiarch/alpine:armhf-edge', 'arch': 'armhf' }, - { - 'base': 'multiarch/alpine:aarch64-edge', - 'arch': 'aarch64' - } + # Impossible combo :( + # { + # 'base': 'multiarch/alpine:aarch64-edge', + # 'arch': 'aarch64' + # } ] } diff --git a/test/conftest.py b/test/conftest.py index d103017..a7a3238 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -63,6 +63,7 @@ def os(request): return request.param @pytest.fixture() +@pytest.mark.skipif((os == 'alpine' and arch == 'aarch64'), 'musl does not have aarch64 yet') def tag(request, os, arch): return '{}_{}'.format(os, arch) @@ -84,8 +85,9 @@ def image(request, tag): def cmd(request): return 'tail -f /dev/null' -@pytest.fixture(scope='module', params=['amd64', 'armhf', 'aarch64']) +@pytest.fixture(scope='module', params=['amd64']) def persist_arch(request): + '''amd64 only dnsmasq will not start under qemu-user-static :(''' return request.param @pytest.fixture(scope='module', params=['debian', 'alpine']) @@ -96,6 +98,7 @@ def persist_os(request): def persist_args(request): return '-e ServerIP="127.0.0.1" -e ServerIPv6="::1"' +@pytest.mark.skipif((persist_os == 'alpine' and persist_arch == 'aarch64'), 'musl does not have aarch64 yet') @pytest.fixture(scope='module') def persist_tag(request, persist_os, persist_arch): return '{}_{}'.format(persist_os, persist_arch)