debian-forge-composer/.travis.yml
Ondřej Budai d83908f0cf ci/travis: switch to the Go implementation of image tests
There's now nothing preventing us from using the newer and better Go
implementation of image tests.

Also, the travis config was simplified to be more readable.
2020-03-16 21:10:57 +01:00

29 lines
676 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.13.x
- eval "$(gimme 1.13.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'
- go build -tags travis ./cmd/osbuild-image-tests
- sudo ./osbuild-image-tests --distro $TRAVIS_JOB_NAME