debian-forge-composer/.travis.yml
Ondřej Budai 1b49755a7e tests/image: remove all distro restrictions
The distro argument and restrictions to run only tests for the same distro
as the host's one were confusing. This commit removes them. Now the behaviour
is following:

By default all the test cases in test case directory are run.
If test cases are given by arguments, they are all run, and test case
directory is ignored.
2020-03-19 14:25:08 +01:00

29 lines
700 B
YAML

dist: bionic
addons:
apt:
packages:
- genisoimage
- gnupg2
- qemu-utils
- qemu-kvm
- rpm
- systemd-container
matrix:
include:
- name: f30
arch: amd64
- name: f30
arch: arm64
- name: f31
arch: amd64
- name: f31
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 test -c -tags travis,integration -o osbuild-image-tests ./cmd/osbuild-image-tests
- sudo ./osbuild-image-tests -test.v test/cases/$TRAVIS_JOB_NAME*