debian-forge-composer/.travis.yml
Martin Sehnoutka aa39579ff8 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
2020-04-15 15:22:57 +02:00

30 lines
848 B
YAML

dist: bionic
addons:
apt:
packages:
- genisoimage
- gnupg2
- qemu-utils
- qemu-kvm
- rpm
- systemd-container
matrix:
include:
- name: fedora_30
arch: amd64
- name: fedora_30
arch: arm64
- name: fedora_31
arch: amd64
- name: fedora_31
arch: arm64
language: generic
script:
# set go version to 1.12.x
- eval "$(gimme 1.12.x)"
# 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
- 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