Permalink
Browse files

CI: handle vendor

  • Loading branch information...
1 parent efbbc55 commit fac468c707604d88ba0099daa77329ad45eeaaa4 @haya14busa committed Dec 16, 2016
Showing with 7 additions and 5 deletions.
  1. +1 −1 .drone.sec
  2. +5 −3 .drone.yml
  3. +1 −1 .travis.yml
View
@@ -1 +1 @@
-eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkExMjhHQ00ifQ.eEuGoCuYdUYiXtxDg_jTs-biduAlDV8YH5qVQD-B6h-4JBqqR_8Er6hOiI3GpSyLYGg72qM_jdjVaaWAq0Yzrs2QHc_3qMdBzWoi78uyCuaEM6qrZakIBjHvjfDcgfQ6sDHfDMLHXWJQmZR_bOR9cA628JtwmLKWBir36GROXAmY0ciOFcvqcPUwMLkgE4TltOtQs63vGhIDdUOajUwl1l5iEfCgPik3GEm504N88de22AFKaazUrHKGwnMpOypgfUMhMGiEM6Tb_i8-gH-MWyTare8M-H19M9g1LkbLTP7IH1BMl736m2lkQpVKaJXC7BmSOVvoni7PqvwSxMNeRQ.hskL4_H0Uq-6jvz4.un-1RgP6sDdwjP_W9l7NJ7YYdtXzPxVxO8dksqBDDkc6p4v2A0bUGwWMDcvgiP0fjttcZ_xyMSSx7Q3IB7c83pvKBi4yrxyVifPPIWVsLZKwg436pvyiIOUR1U7vkVmmmA33yKddqrMLEnRpvBNWH18fPkYWwdHAlzw4VBv1k5P73iUmBn_i_N_gHZZRrQWAa2HR0AFVz9LiHV0N9q-O.WsvCmoV14OqQMH7P2PVTRg
+eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkExMjhHQ00ifQ.YxFrc7LjY-zbh9oj7ljxt1DTC_mE35kcdEjDWwHyf6GkknRqedJ_UxDEXfn-b69Fm9-4KhP-s5Z0LRMcZ6LyaJc8USSE8tU_4i4FlMPXosov_swKium_i_kXWdSCEU8AzToOZjorXb3u5YkZpbGwNU3sNWTvsFHxBIxM6qiSL80NQX2rsXF2BsACubPtwr7tla1APbrVs7yQu8kqDi6kc_bwR1syaym0saF567eKNW81Sg_DzFYmsWP0eaFCE3YnUJLlIC7r5raPDMq_Rxek0G9_U7AZlOxJ2JiBsddjo2yRQvHS8c67dqeE6pgggmmwsllWmpRD054rKtEYWxJi3A.bpFd9nJPYV1ri8Yf.DtGardgx3TnofWVwJDZXjRDlr19owKxERuAUC0fBYmpCBa1OGNTBRaoT2VHt6YjgeUMPk1M4x_X86vTj2h3BdEv9dT_2mjo8XTle9-UuYHXOGUeT_lwDidOxUe_4ykD-6p0E2DOTHXo9Wv27mNZ2bxr9AEBwXD31XQZenl4Lp0KUeKMNcKREA_DpqjHNLmq17zWsucC_UMImYOkwB9si.uC8-yialTPshLjNHttV64A
View
@@ -5,9 +5,11 @@ build:
test:
image: golang
commands:
- - go get -d -v -t ./...
- - go test -v ./...
- - (! gofmt -s -d . | grep '^') # exit 1 if any output given
+ - git submodule update --init --recursive
+ - go build -v $(go list ./... | grep -v "/vendor/")
+ - go get -d -v -t $(go list ./... | grep -v "/vendor/")
+ - go test -v -race $(go list ./... | grep -v "/vendor/")
+ - (! gofmt -s -d *.go cmd diff project | grep '^')
lint:
image: golang
environment:
View
@@ -24,7 +24,7 @@ before_script:
- echo $TRAVIS_SECURE_ENV_VARS
script:
- - go test -v -race ./...
+ - go test -v -race $(go list ./... | grep -v "/vendor/")
- goverage -coverprofile=coverage.txt ./...
- go install ./cmd/reviewdog
- >-

0 comments on commit fac468c

Please sign in to comment.