appveyor.yml 585 字节
Newer Older
H
hongming 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
version: "{build}"

clone_folder: c:\gopath\src\github.com\mholt\certmagic

environment:
  GOPATH: c:\gopath

stack: go 1.11

install:
  - set PATH=%GOPATH%\bin;%PATH%
  - set PATH=C:\msys64\mingw64\bin;%PATH%
  - go get -t ./...
  - go get golang.org/x/lint/golint
  - go get github.com/alecthomas/gometalinter

build: off

before_test:
  - go version
  - go env

test_script:
  - gometalinter --install
  - gometalinter --disable-all -E vet -E gofmt -E misspell -E ineffassign -E goimports -E deadcode --tests ./...
  - go test -race ./...

after_test:
  - golint ./...

deploy: off