Skip to content

Commit

Permalink
fixing travis and tags (I think this is all of it...)
Browse files Browse the repository at this point in the history
  • Loading branch information
IngCr3at1on committed Nov 3, 2018
1 parent a006dd2 commit a10f28a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ language: go
# Specify Go versions to test (".x" suffix means latest minor version, "tip" is
# the latest development version)
go:
# - "1.9.x"
# - "1.10.x"
- "1.9.x"
- "1.10.x"
- "1.11.x"
- tip

Expand All @@ -25,8 +25,7 @@ matrix:
# Install all dependencies (including dependencies of tests) without installing
# binaries.
install:
-
# - go get -d -t -v ./...
- ./internal/scripts/travis-install.sh

# Check if gofmt or go vet report any errors, run all tests with the race
# detector enabled, then build all examples to make sure they still compile.
Expand Down
6 changes: 6 additions & 0 deletions internal/scripts/travis-install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

# Disable install for module builds.
if [ "$GO111MODULE" != on ]; then
go get -d -t -v ./...
fi

0 comments on commit a10f28a

Please sign in to comment.