aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: a33675bc7b089dcca37b25af60cb7f36ace86e68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
  - sudo bash ./travis/setup-host
  - sudo lxc exec libvirt -- bash /code/travis/setup-guest
script:
  - bash ./travis/gofmtcheck.sh
  - 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