blob: ab45ae978dadc1eb7e0a6e90d357926f62e40a1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
dist: trusty
language: go
go:
- 1.9
go_import_path: github.com/dmacvicar/terraform-provider-libvirt
install: true
before_script:
- go get github.com/mattn/goveralls
- go get github.com/golang/lint/golint
- sudo bash ./travis/setup-host
- sudo lxc exec libvirt -- bash /code/travis/setup-guest
script:
- bash ./travis/gofmtcheck.sh
- golint -set_exit_status libvirt/
- sudo lxc exec libvirt -- bash /code/travis/run-tests-inside-guest
- sudo lxc file pull libvirt/root/go/src/github.com/dmacvicar/terraform-provider-libvirt/profile.cov .
- goveralls -coverprofile=profile.cov -service=travis-ci
|