Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
Removed travis 1.4.3 and go vet import
Browse files Browse the repository at this point in the history
  • Loading branch information
tiffanyfay committed Apr 7, 2016
1 parent f41618c commit 17e4889
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 9 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
sudo: false
language: go
go:
- 1.4.3
- 1.5.3
- 1.6
before_install:
- bash scripts/gitcookie.sh
- go get github.com/tools/godep
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/vet
- go get golang.org/x/tools/cmd/goimports
- go get github.com/smartystreets/goconvey/convey
- if [ ! -d $SNAP_SOURCE ]; then mkdir -p $HOME/gopath/src/github.com/intelsdi-x; ln -s $TRAVIS_BUILD_DIR $SNAP_SOURCE; fi # CI for forks not from intelsdi-x
Expand Down
1 change: 0 additions & 1 deletion docs/BUILD_AND_TEST.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ WORKDIR /go/src/github.com/intelsdi-x/snap
ADD . /go/src/github.com/intelsdi-x/snap
RUN go get github.com/tools/godep && \
go get golang.org/x/tools/cmd/goimports && \
go get golang.org/x/tools/cmd/vet && \
go get golang.org/x/tools/cmd/cover && \
go get github.com/smartystreets/goconvey
RUN scripts/deps.sh
Expand Down
1 change: 0 additions & 1 deletion scripts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ WORKDIR /go/src/github.com/intelsdi-x/snap
ADD . /go/src/github.com/intelsdi-x/snap
RUN go get github.com/tools/godep && \
go get golang.org/x/tools/cmd/goimports && \
go get golang.org/x/tools/cmd/vet && \
go get golang.org/x/tools/cmd/cover && \
go get github.com/smartystreets/goconvey
RUN scripts/deps.sh
Expand Down
7 changes: 2 additions & 5 deletions scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@
# 1. gofmt (http://golang.org/cmd/gofmt/)
# 2. goimports (https://github.com/bradfitz/goimports)
# 3. golint (https://github.com/golang/lint)
# 4. go vet (http://golang.org/cmd/vet)
# 5. race detector (http://blog.golang.org/race-detector)
# 6. test coverage (http://blog.golang.org/cover)
# 4. race detector (http://blog.golang.org/race-detector)
# 5. test coverage (http://blog.golang.org/cover)

# If the following plugins don't exist, exit
[ -f $SNAP_PATH/plugin/snap-collector-mock1 ] || { echo 'Error: $SNAP_PATH/plugin/snap-collector-mock1 does not exist. Run make to build it.' ; exit 1; }
Expand All @@ -41,8 +40,6 @@ echo "Getting GoConvey if not found"
go get github.com/smartystreets/goconvey
echo "Getting goimports if not found"
go get golang.org/x/tools/cmd/goimports
echo "Getting govet if not found"
go get golang.org/x/tools/cmd/vet
echo "Getting cover if not found"
go get golang.org/x/tools/cmd/cover

Expand Down

0 comments on commit 17e4889

Please sign in to comment.