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

Commit

Permalink
Adds gometalinter to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenddn committed Aug 16, 2017
1 parent 5351697 commit 83966f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ before_install:
- bash scripts/gitcookie.sh
- 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
- go get -u github.com/alecthomas/gometalinter
env:
global:
- SNAP_SOURCE=/home/travis/gopath/src/github.com/intelsdi-x/snap
Expand All @@ -22,8 +23,10 @@ install:
- mkdir -p $TMPDIR
- cd $SNAP_SOURCE # change dir into source
- make
- gometalinter --install
script:
- make test 2>&1 # Run test suite
- gometalinter ./... || true
notifications:
email: false
slack:
Expand Down

0 comments on commit 83966f4

Please sign in to comment.