github.com/Hyperledger-TWGC/tjfoc-gm@v1.4.0/.travis.yml (about) 1 sudo: false 2 dist: bionic 3 language: go 4 os: 5 - linux 6 - osx 7 osx_image: xcode11 8 go: 9 - 1.14.x 10 - 1.13.x 11 before_install: 12 - export GO111MODULE=on 13 install: 14 - go get -u golang.org/x/lint/golint 15 - export golint=$(go list -f {{.Target}} golang.org/x/lint/golint) 16 - go mod vendor 17 - go build -v ./sm2 18 - go build -v ./sm3 19 - go build -v ./sm4 20 - go build -v ./x509 21 - go build -v ./gmtls/gmcredentials 22 - go build -v ./gmtls/gmcredentials/echo 23 24 script: 25 - go vet ./sm2 26 - go vet ./sm3 27 - go vet ./sm4 28 - go vet ./x509 29 - go vet ./gmtls/gmcredentials 30 - golint . 31 - go test -v ./... --bench=. -cover