diff options
author | Flavio Castelli <fcastelli@suse.com> | 2016-06-29 15:29:45 +0200 |
---|---|---|
committer | Flavio Castelli <fcastelli@suse.com> | 2016-07-01 16:31:49 +0200 |
commit | 5d8eca84b46955183c50bf8e9f34fc5c7cc785d8 (patch) | |
tree | 002c204e1ac61db8f80ebea7c392519d21771e27 /.travis.yml | |
parent | e9301b5a3a18c93f6a00bfad857ef0474b548928 (diff) | |
download | terraform-provider-libvirt-5d8eca84b46955183c50bf8e9f34fc5c7cc785d8.tar terraform-provider-libvirt-5d8eca84b46955183c50bf8e9f34fc5c7cc785d8.tar.gz |
Keep track of all the dependencies
Tracking all the dependencies makes builds reproducible and more robust.
Some changes have been made to Travis too:
- Overwrite the default testing script used by travis, this still
executes the unit tests of the vendored code.
- Build using vendored code
- Do not run the tests of the vendored code, just focus on ours :)
- Remove the `find` command, I guess it was there for debugging
purposes and it makes travis go crazy when streaming the output.
- Force usage of latest stable release of Go.
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 82591fcd..350a2133 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ dist: trusty language: go go: - - 1.5 + - 1.6 before_install: - sudo apt-get -qq update @@ -17,9 +17,14 @@ before_install: - sudo make install - sudo libvirtd -d - popd + - go get -u github.com/govend/govend + - govend -v install: - - go get -t ./... - go build . - - find . - - go test ./... + +# override the custom test script, this would trigger +# also the execution of the unit tests of the vendored +# code +script: + - go test ./libvirt |