github.com/qxnw/lib4go@v0.0.0-20180426074627-c80c7e84b925/archiver/appveyor.yml (about)

     1  version: "{build}"
     2  
     3  os: Windows Server 2012 R2
     4  
     5  clone_folder: c:\gopath\src\github.com\mholt\archiver
     6  
     7  environment:
     8    GOPATH: c:\gopath
     9    CGO_ENABLED: 0
    10  
    11  install:
    12    - rmdir c:\go /s /q
    13    - appveyor DownloadFile https://storage.googleapis.com/golang/go1.7.1.windows-amd64.zip
    14    - 7z x go1.7.1.windows-amd64.zip -y -oC:\ > NUL
    15    - go version
    16    - go env
    17    - go get -t ./...
    18    - go get github.com/golang/lint/golint
    19    - go get github.com/gordonklaus/ineffassign
    20    - set PATH=%GOPATH%\bin;%PATH%
    21  
    22  build: off
    23  
    24  test_script:
    25    - go vet ./...
    26    - go test ./...
    27    - ineffassign .
    28  
    29  after_test:
    30    - golint ./...
    31  
    32  deploy: off