pipeline.yml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. env:
  2. CODECOV_TOKEN: "2dd7eb9b-0eda-45fe-a47c-9b5ac040045f"
  3. steps:
  4. - command:
  5. - "python -m pip install tox"
  6. - "tox -e pep8"
  7. label: "\U0001F9F9 PEP-8"
  8. plugins:
  9. - docker#v3.0.1:
  10. image: "python:3.6"
  11. - command:
  12. - "python -m pip install tox"
  13. - "tox -e packaging"
  14. label: "\U0001F9F9 packaging"
  15. plugins:
  16. - docker#v3.0.1:
  17. image: "python:3.6"
  18. - command:
  19. - "python -m pip install tox"
  20. - "tox -e check_isort"
  21. label: "\U0001F9F9 isort"
  22. plugins:
  23. - docker#v3.0.1:
  24. image: "python:3.6"
  25. - wait
  26. - command:
  27. - "python -m pip install tox"
  28. - "tox -e check-sampleconfig"
  29. label: "\U0001F9F9 check-sample-config"
  30. plugins:
  31. - docker#v3.0.1:
  32. image: "python:3.6"
  33. - command:
  34. - "python -m pip install tox"
  35. - "tox -e py27,codecov"
  36. label: ":python: 2.7 / SQLite"
  37. env:
  38. TRIAL_FLAGS: "-j 2"
  39. plugins:
  40. - docker#v3.0.1:
  41. image: "python:2.7"
  42. propagate-environment: true
  43. - command:
  44. - "python -m pip install tox"
  45. - "tox -e py35,codecov"
  46. label: ":python: 3.5 / SQLite"
  47. env:
  48. TRIAL_FLAGS: "-j 2"
  49. plugins:
  50. - docker#v3.0.1:
  51. image: "python:3.5"
  52. propagate-environment: true
  53. - command:
  54. - "python -m pip install tox"
  55. - "tox -e py36,codecov"
  56. label: ":python: 3.6 / SQLite"
  57. env:
  58. TRIAL_FLAGS: "-j 2"
  59. plugins:
  60. - docker#v3.0.1:
  61. image: "python:3.6"
  62. propagate-environment: true
  63. - command:
  64. - "python -m pip install tox"
  65. - "tox -e py37,codecov"
  66. label: ":python: 3.7 / SQLite"
  67. env:
  68. TRIAL_FLAGS: "-j 2"
  69. plugins:
  70. - docker#v3.0.1:
  71. image: "python:3.7"
  72. propagate-environment: true
  73. - command:
  74. - "python -m pip install tox"
  75. - "tox -e py27-old,codecov"
  76. label: ":python: 2.7 / SQLite / Old Deps"
  77. env:
  78. TRIAL_FLAGS: "-j 2"
  79. plugins:
  80. - docker#v3.0.1:
  81. image: "python:2.7"
  82. propagate-environment: true
  83. - label: ":python: 2.7 / :postgres: 9.4"
  84. env:
  85. TRIAL_FLAGS: "-j 4"
  86. command:
  87. - "bash -c 'python -m pip install tox && python -m tox -e py27-postgres,codecov'"
  88. plugins:
  89. - docker-compose#v2.1.0:
  90. run: testenv
  91. config:
  92. - .buildkite/docker-compose.py27.pg94.yaml
  93. - label: ":python: 2.7 / :postgres: 9.5"
  94. env:
  95. TRIAL_FLAGS: "-j 4"
  96. command:
  97. - "bash -c 'python -m pip install tox && python -m tox -e py27-postgres,codecov'"
  98. plugins:
  99. - docker-compose#v2.1.0:
  100. run: testenv
  101. config:
  102. - .buildkite/docker-compose.py27.pg95.yaml
  103. - label: ":python: 3.5 / :postgres: 9.4"
  104. env:
  105. TRIAL_FLAGS: "-j 4"
  106. command:
  107. - "bash -c 'python -m pip install tox && python -m tox -e py35-postgres,codecov'"
  108. plugins:
  109. - docker-compose#v2.1.0:
  110. run: testenv
  111. config:
  112. - .buildkite/docker-compose.py35.pg94.yaml
  113. - label: ":python: 3.5 / :postgres: 9.5"
  114. env:
  115. TRIAL_FLAGS: "-j 4"
  116. command:
  117. - "bash -c 'python -m pip install tox && python -m tox -e py35-postgres,codecov'"
  118. plugins:
  119. - docker-compose#v2.1.0:
  120. run: testenv
  121. config:
  122. - .buildkite/docker-compose.py35.pg95.yaml
  123. - label: ":python: 3.7 / :postgres: 9.5"
  124. env:
  125. TRIAL_FLAGS: "-j 4"
  126. command:
  127. - "bash -c 'python -m pip install tox && python -m tox -e py37-postgres,codecov'"
  128. plugins:
  129. - docker-compose#v2.1.0:
  130. run: testenv
  131. config:
  132. - .buildkite/docker-compose.py37.pg95.yaml
  133. - label: ":python: 3.7 / :postgres: 11"
  134. env:
  135. TRIAL_FLAGS: "-j 4"
  136. command:
  137. - "bash -c 'python -m pip install tox && python -m tox -e py37-postgres,codecov'"
  138. plugins:
  139. - docker-compose#v2.1.0:
  140. run: testenv
  141. config:
  142. - .buildkite/docker-compose.py37.pg11.yaml