diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-02-16 21:34:50 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-02-16 21:34:50 +0800 |
commit | 68f6ddc5aaa7ff29d09c1519ccd38d9cf16c0f75 (patch) | |
tree | 249321b2c4f308a90231acd2e687463b6c9d062c /.travis.yml | |
parent | 702218008ee2b6d708d6b2821cdef80736bb3224 (diff) | |
download | dexon-68f6ddc5aaa7ff29d09c1519ccd38d9cf16c0f75.tar.gz dexon-68f6ddc5aaa7ff29d09c1519ccd38d9cf16c0f75.tar.zst dexon-68f6ddc5aaa7ff29d09c1519ccd38d9cf16c0f75.zip |
Update Travis to use godep
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 0084bf9c2..2dfb7e283 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,8 +12,9 @@ install: - if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi - go get github.com/mattn/goveralls - go get gopkg.in/check.v1 - - DEPS=$(go list -f '{{.Imports}}' ./... | sed -e 's/\[//g' | sed -e 's/\]//g' | sed -e 's/C //g'); if [ "$DEPS" ]; then go get -d -v $DEPS; fi + - go get github.com/tools/godep before_script: + - godep restore - gofmt -l -w . - goimports -l -w . - golint . |