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.

57 lines
1.3 KiB

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