github.com/wanliu/go-oauth2-server@v0.0.0-20180817021415-f928fa1580df/.travis.yml (about) 1 --- 2 language: go 3 4 go: 5 - 1.8.3 6 - tip 7 8 services: 9 - docker 10 11 install: 12 - go get github.com/golang/lint/golint 13 - go get github.com/FiloSottile/vendorcheck 14 # Install gometalinter and certain linters 15 - go get github.com/alecthomas/gometalinter 16 - go get github.com/client9/misspell/cmd/misspell 17 - go get github.com/gordonklaus/ineffassign 18 - go get golang.org/x/tools/cmd/goimports 19 - go get github.com/tsenart/deadcode 20 21 before_script: 22 - createuser --createdb go_oauth2_server 23 24 script: 25 - make lint 26 - vendorcheck ./... 27 - make test-with-coverage 28 29 after_script: 30 - make golint 31 32 after_success: 33 - bash <(curl -s https://codecov.io/bash)