29 lines
669 B
YAML
29 lines
669 B
YAML
os: linux
|
|
dist: focal
|
|
language: go
|
|
go:
|
|
- 1.13.x
|
|
env:
|
|
- LIBVIRT_DEFAULT_URI='qemu+unix:///session' TF_LIBVIRT_DISABLE_PRIVILEGED_TESTS=1 TF_LIBVIRT_RNG_DEV='/dev/random'
|
|
git:
|
|
depth: 1
|
|
install: true
|
|
before_script:
|
|
- curl -sLo /tmp/terraform.zip https://releases.hashicorp.com/terraform/0.12.0/terraform_0.12.0_linux_amd64.zip
|
|
- sudo unzip /tmp/terraform.zip -d /usr/local/bin
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libvirt-dev
|
|
- libvirt-daemon
|
|
- qemu-system-x86
|
|
- qemu-utils
|
|
- genisoimage
|
|
- xsltproc
|
|
script:
|
|
- make fmt-check
|
|
- make vet-check
|
|
- make lint-check
|
|
- make tf-check
|
|
- make testacc TEST_ARGS="-test.failfast"
|