Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
29 changes: 14 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
language: go

go:
- 1.6
- 1.7
- 1.9

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is go1.9+ mandatory or recommended?
i.e. Ensure no build failure in go 1.7 enviornment

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

go1.9+ is recommended and build is not failing with go 1.7.

- tip

os:
- linux
- osx

env:
matrix:
- BUILD_GOARCH=amd64
- BUILD_GOARCH=386
matrix:
allow_failures:
- go: tip
fast_finish: true # don't wait for tip tests to finish before marking build "succeeded"

before_install:
- go get -u honnef.co/go/simple/cmd/gosimple

# don't go get deps. will only build with code in vendor directory.
# skip the install step. don't `go get` deps. only build with code in vendor/
install: true

before_script:
- go get honnef.co/go/tools/cmd/megacheck
- GO_FILES=$(find . -iname '*.go' -type f | grep -v /vendor/)

script:
# pkgs avoids testing anything in vendor/
- pkgs=$(go list ./... | grep -v /vendor/)
- go vet $pkgs
- go test -v -race $pkgs
- gosimple $pkgs
- test -z $(gofmt -s -l $GO_FILES)
- go vet ./...
- megacheck ./...
- go test -v -race $PKGS
117 changes: 117 additions & 0 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 40 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@

[[constraint]]
name = "github.com/Azure/azure-sdk-for-go"
version = "10.3.1-beta"

[[constraint]]
name = "github.com/Azure/go-autorest"
version = "8.3.1"

[[constraint]]
branch = "master"
name = "github.com/apcera/util"

[[constraint]]
name = "github.com/aws/aws-sdk-go"
version = "1.10.43"

[[constraint]]
branch = "master"
name = "github.com/gophercloud/gophercloud"

[[constraint]]
branch = "master"
name = "github.com/pyr/egoscale"

[[constraint]]
branch = "master"
name = "github.com/vmware/govmomi"

[[constraint]]
branch = "master"
name = "golang.org/x/crypto"

[[constraint]]
branch = "master"
name = "golang.org/x/oauth2"

[[constraint]]
branch = "master"
name = "google.golang.org/api"
Loading