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

     1  language: go
     2  
     3  go:
     4    - 1.x
     5  
     6  env:
     7    - CGO_ENABLED=0
     8  
     9  install:
    10    - go get -t ./...
    11    - go get github.com/golang/lint/golint
    12    - go get github.com/gordonklaus/ineffassign
    13  
    14  script:
    15    - diff <(echo -n) <(gofmt -s -d .)
    16    - ineffassign .
    17    - go vet ./...
    18    - go test ./...
    19  
    20  after_script:
    21    - golint ./...