debian-forge-composer/.travis.yml
Martin Sehnoutka ebeecfaf33 github/workflows: downgrade golang to 1.12
We currently declare compatibility with golang 1.12 so we should also
use it in our CI. Once we agree that we would benefit from some features
in golang 1.13 or 1.14 we can bump it back.
2020-04-15 10:34:32 +02:00

30 lines
728 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.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
- 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*