.drone.yml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. ---
  2. kind: pipeline
  3. name: python-3-5-alpine-3-10
  4. services:
  5. - name: postgresql
  6. image: postgres:11.5
  7. environment:
  8. POSTGRES_PASSWORD: test
  9. POSTGRES_DB: test
  10. steps:
  11. - name: build
  12. image: python:3.5-alpine3.10
  13. pull: always
  14. commands:
  15. - scripts/run-tests
  16. ---
  17. kind: pipeline
  18. name: python-3-6-alpine-3-10
  19. services:
  20. - name: postgresql
  21. image: postgres:11.5
  22. environment:
  23. POSTGRES_PASSWORD: test
  24. POSTGRES_DB: test
  25. steps:
  26. - name: build
  27. image: python:3.6-alpine3.10
  28. pull: always
  29. commands:
  30. - scripts/run-tests
  31. ---
  32. kind: pipeline
  33. name: python-3-7-alpine-3-10
  34. services:
  35. - name: postgresql
  36. image: postgres:11.5
  37. environment:
  38. POSTGRES_PASSWORD: test
  39. POSTGRES_DB: test
  40. steps:
  41. - name: build
  42. image: python:3.7-alpine3.10
  43. pull: always
  44. commands:
  45. - scripts/run-tests
  46. ---
  47. kind: pipeline
  48. name: python-3-7-alpine-3-7
  49. services:
  50. - name: postgresql
  51. image: postgres:11.5
  52. environment:
  53. POSTGRES_PASSWORD: test
  54. POSTGRES_DB: test
  55. steps:
  56. - name: build
  57. image: python:3.7-alpine3.7
  58. pull: always
  59. commands:
  60. - scripts/run-tests
  61. ---
  62. kind: pipeline
  63. name: python-3-8-alpine-3-10
  64. services:
  65. - name: postgresql
  66. image: postgres:11.5
  67. environment:
  68. POSTGRES_PASSWORD: test
  69. POSTGRES_DB: test
  70. steps:
  71. - name: build
  72. image: python:3.8-alpine3.10
  73. pull: always
  74. commands:
  75. - scripts/run-tests
  76. ---
  77. kind: pipeline
  78. name: documentation
  79. steps:
  80. - name: build
  81. image: plugins/docker
  82. settings:
  83. username:
  84. from_secret: docker_username
  85. password:
  86. from_secret: docker_password
  87. repo: witten/borgmatic-docs
  88. dockerfile: docs/Dockerfile
  89. when:
  90. branch:
  91. - master