From 5d8eca84b46955183c50bf8e9f34fc5c7cc785d8 Mon Sep 17 00:00:00 2001 From: Flavio Castelli Date: Wed, 29 Jun 2016 15:29:45 +0200 Subject: 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 --- .travis.yml | 13 +++++++++---- vendor.yml | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 65 insertions(+), 5 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 diff --git a/vendor.yml b/vendor.yml index 7becc1ef..8320d6eb 100644 --- a/vendor.yml +++ b/vendor.yml @@ -1,4 +1,59 @@ vendors: +- path: github.com/apparentlymart/go-cidr + rev: a3ebdb999b831ecb6ab8a226e31b07b2b9061c47 +- path: github.com/aws/aws-sdk-go + rev: 090ac38629ae46c5ccc576820f7516e2f2389109 +- path: github.com/c4milo/gotoolkit + rev: 00e143d3de08b350b98330e0c4b3cd0ecf5ab249 +- path: github.com/davecgh/go-spew + rev: 5215b55f46b2b919f50a1df0eaa5886afe4e3b3d +- path: github.com/dmacvicar/libvirt-go + rev: a231ab91a332d2f1f1b8c4e6815ea06c7ec1575a +- path: github.com/go-ini/ini + rev: 1cb3e99c372898b10bb07e8c8d80d2b554f30858 +- path: github.com/hashicorp/errwrap + rev: 7554cd9344cec97297fa6649b055a8c98c2a1e55 +- path: github.com/hashicorp/go-getter + rev: 3d6040e1c4b972f6634c5aafb08901f916c5ee3c +- path: github.com/hashicorp/go-multierror + rev: d30f09973e19c1dfcd120b2d9c4f168e68d6b5d5 +- path: github.com/hashicorp/hcl + rev: 61f5143284c041681f76a5b63efcb232aaa94737 +- path: github.com/hashicorp/hil + rev: 7130f7330953adacbfb4ca0ad4b14b806bce3762 +- path: github.com/hashicorp/logutils + rev: 0dc08b1671f34c4250ce212759ebd880f743d883 - path: github.com/hashicorp/terraform rev: v0.6.16 - +- path: github.com/hooklift/assert + rev: c7786599453421cddf9aa8a3a7b537f567d1ac1b +- path: github.com/hooklift/iso9660 + rev: 7379f5daf22ce802993859ef4c5c1690782b9d0e +- path: github.com/jmespath/go-jmespath + rev: 0b12d6b521d83fc7f755e7cfc1b1fbdd35a01a74 +- path: github.com/mitchellh/copystructure + rev: ae8f8315ad044b86ced2e0be9e3598e9dd94f38e +- path: github.com/mitchellh/go-homedir + rev: 756f7b183b7ab78acdbbee5c7f392838ed459dda +- path: github.com/mitchellh/hashstructure + rev: b098c52ef6beab8cd82bc4a32422cf54b890e8fa +- path: github.com/mitchellh/mapstructure + rev: d2dd0262208475919e1a362f675cfc0e7c10e905 +- path: github.com/mitchellh/packer + rev: 63edbd40edc5a55394f8532aa9958bbe257b31b5 +- path: github.com/mitchellh/reflectwalk + rev: eecf4c70c626c7cfbb95c90195bc34d386c74ac6 +- path: github.com/pmezard/go-difflib + rev: 792786c7400a136282c1664665ae0a8db921c6c2 +- path: github.com/smartystreets/assertions + rev: 40711f7748186bbf9c99977cd89f21ce1a229447 +- path: github.com/smartystreets/goconvey + rev: c53abc99456fa3402dd33c15ee51c3e545e04a3f +- path: github.com/stretchr/testify + rev: d77da356e56a7428ad25149ca77381849a6a5232 +- path: golang.org/x/net + rev: ef2e00e88c5e0a3569f0bb9df697e9cbc6215fea +- path: gopkg.in/check.v1 + rev: 4f90aeace3a26ad7021961c297b22c42160c7b25 +- path: gopkg.in/yaml.v2 + rev: a83829b6f1293c91addabc89d0571c246397bbf4 -- cgit v1.2.3