travis: disable image tests on arm to workaround kernel bug

The image tests fail in travis because there is a bug in the kernel,
that travis uses. See this upstream bug report for a reference:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1872757
This commit is contained in:
Martin Sehnoutka 2020-04-15 08:14:10 +02:00 committed by Tom Gundersen
parent e34607b955
commit aa39579ff8

View file

@ -26,5 +26,5 @@ script:
# ubuntu's rpm package sets dbpath to ~/.rpmdb, which makes rpm fail...
- sudo sh -c 'mkdir /etc/rpm; echo "%_dbpath /var/lib/rpm" > /etc/rpm/macros'
- export GO111MODULE=on
- go test -c -tags 'travis integration' -o osbuild-image-tests ./cmd/osbuild-image-tests
- sudo ./osbuild-image-tests -test.v test/cases/$TRAVIS_JOB_NAME*
- if [ "${TRAVIS_CPU_ARCH}" = "amd64" ]; then go test -c -tags 'travis integration' -o osbuild-image-tests ./cmd/osbuild-image-tests; fi
- if [ "${TRAVIS_CPU_ARCH}" = "amd64" ]; then sudo ./osbuild-image-tests -test.v test/cases/$TRAVIS_JOB_NAME*; fi