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.

55 lines
1.2 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
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.14:
  9. image: golang:1.14
  10. commands:
  11. - go mod download
  12. - go test ./... -v
  13. - go test -bench ./...
  14. test-1.13:
  15. image: golang:1.13
  16. commands:
  17. - go mod download
  18. - go test ./... -v
  19. - go test -bench ./...
  20. test-1.12:
  21. image: golang:1.12
  22. commands:
  23. - go mod download
  24. - go test ./... -v
  25. - go test -bench ./...
  26. test-1.11:
  27. image: golang:1.11
  28. commands:
  29. - go mod download
  30. - go test ./... -v
  31. - go test -bench ./...
  32. move-into-gopath:
  33. image: golang:1.8
  34. commands:
  35. - mkdir -p /go/src/github.com/gissleh/
  36. - mv /project/irc /go/src/github.com/gissleh/
  37. test-1.10:
  38. image: golang:1.10
  39. commands:
  40. - cd /go/src/github.com/gissleh/irc/
  41. - go test ./... -v
  42. - go test -bench ./...
  43. test-1.9:
  44. image: golang:1.9
  45. commands:
  46. - cd /go/src/github.com/gissleh/irc/
  47. - go test ./... -v
  48. - go test -bench ./...
  49. test-1.8:
  50. image: golang:1.8
  51. commands:
  52. - cd /go/src/github.com/gissleh/irc/
  53. - go test ./... -v
  54. - go test -bench ./...