Skip to content

Commit

Permalink
Merge pull request #63 from gz-c/travis
Browse files Browse the repository at this point in the history
Travis
  • Loading branch information
gz-c authored Sep 28, 2017
2 parents a8163bc + 02e9cc1 commit c4ff193
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
language: go

go:
- 1.9

install:
- go get -t ./...
- go get github.com/golang/lint/golint
- go get github.com/FiloSottile/vendorcheck
# Install gometalinter and certain linters
- go get github.com/alecthomas/gometalinter
# - go get github.com/client9/misspell/cmd/misspell
# - go get github.com/gordonklaus/ineffassign
- go get golang.org/x/tools/cmd/goimports
# - go get github.com/tsenart/deadcode

script:
# - gometalinter --disable-all -E vet -E gofmt -E misspell -E ineffassign -E goimports -E deadcode --tests --vendor ./...
- gometalinter --disable-all -E goimports --tests --vendor ./...
- vendorcheck ./...
- go test ./cmd/...
- go test ./src/...

# after_script:
# - golint -set_exit_status ./src/...
# - golint -set_exit_status ./cmd/...
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# teller
# Teller

[![Build Status](https://travis-ci.org/skycoin/teller.svg?branch=master)](https://travis-ci.org/skycoin/teller)

## Setup project

Expand Down

0 comments on commit c4ff193

Please sign in to comment.