Mirror of github.com/gissleh/irc
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
895 B

4 years ago
4 years ago
  1. name: irc
  2. kind: pipeline
  3. type: exec
  4. workspace:
  5. base: /project
  6. path: irc/
  7. pipeline:
  8. test-1.10:
  9. image: golang:1.10
  10. commands:
  11. - mkdir -p /go/src/github.com/gissleh/
  12. - mv /project/irc /go/src/github.com/gissleh/
  13. - cd /go/src/github.com/gissleh/irc/
  14. - go get github.com/stretchr/testify/assert
  15. - go test ./... -v
  16. - go test -bench ./...
  17. test-1.11:
  18. image: golang:1.11
  19. commands:
  20. - go mod download
  21. - go test ./... -v
  22. - go test -bench ./...
  23. test-1.12:
  24. image: golang:1.12
  25. commands:
  26. - go mod download
  27. - go test ./... -v
  28. - go test -bench ./...
  29. test-1.13:
  30. image: golang:1.13
  31. commands:
  32. - go mod download
  33. - go test ./... -v
  34. - go test -bench ./...
  35. test-1.14:
  36. image: golang:1.14
  37. commands:
  38. - go mod download
  39. - go test ./... -v
  40. - go test -bench ./...