Okay, I think I finally get what's happening to me. Let's try this.

This commit is contained in:
David Anderson 2017-05-20 23:29:06 -07:00
parent ec37c75374
commit 9d842b4b03

View File

@ -12,13 +12,19 @@ install:
- go get github.com/golang/lint/golint
script:
- env
# It seems Travis, in an attempt to be helpful, nukes GOARCH=x if we
# pass it as such in the build matrix. So, because we really actually
# want the arch to change, we have to do this layer of
# indirection. Blargh.
- export GOARCH=$MY_GOARCH
- env
- glide install
- go test $(glide novendor)
- go vet $(glide novendor)
- glide novendor | xargs -n1 golint
# Try to build on all architectures.
- go install ./cmd/pixiecore
# Only do testing and things that requires stuff to be executable on amd64.
- "if [ \"$GOARCH\" = \"amd64\" ]; then go test $(glide novendor); end"
- "if [ \"$GOARCH\" = \"amd64\" ]; then go vet $(glide novendor); end"
- "if [ \"$GOARCH\" = \"amd64\" ]; then glide novendor | xargs -n1 golint; end"
env:
matrix: