1
0

.travis.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. language: go
  2. matrix:
  3. include:
  4. - go: 1.2.x
  5. env: GOOS=linux GOARCH=amd64
  6. - go: 1.2.x
  7. env: GOOS=linux GOARCH=386
  8. - go: 1.2.x
  9. env: GOOS=windows GOARCH=amd64
  10. - go: 1.2.x
  11. env: GOOS=windows GOARCH=386
  12. - go: 1.3.x
  13. - go: 1.4.x
  14. - go: 1.5.x
  15. - go: 1.6.x
  16. - go: 1.7.x
  17. - go: 1.8.x
  18. - go: 1.9.x
  19. - go: 1.10.x
  20. - go: 1.11.x
  21. - go: 1.12.x
  22. - go: 1.13.x
  23. env: GOOS=linux GOARCH=amd64
  24. - go: 1.13.x
  25. env: GOOS=linux GOARCH=386
  26. - go: 1.13.x
  27. env: GOOS=windows GOARCH=amd64
  28. - go: 1.13.x
  29. env: GOOS=windows GOARCH=386
  30. - go: tip
  31. go_import_path: gopkg.in/asn-ber.v1
  32. install:
  33. - go list -f '{{range .Imports}}{{.}} {{end}}' ./... | xargs go get -v
  34. - go list -f '{{range .TestImports}}{{.}} {{end}}' ./... | xargs go get -v
  35. - go get code.google.com/p/go.tools/cmd/cover || go get golang.org/x/tools/cmd/cover
  36. - go build -v ./...
  37. script:
  38. - go test -v -cover ./... || go test -v ./...