pipeline.yml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  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. - command:
  26. - "python -m pip install tox"
  27. - "scripts-dev/check-newsfragment"
  28. label: ":newspaper: Newsfile"
  29. branches: "!master !develop !release-*"
  30. plugins:
  31. - docker#v3.0.1:
  32. image: "python:3.6"
  33. propagate-environment: true
  34. - wait
  35. - command:
  36. - "python -m pip install tox"
  37. - "tox -e check-sampleconfig"
  38. label: "\U0001F9F9 check-sample-config"
  39. plugins:
  40. - docker#v3.0.1:
  41. image: "python:3.6"
  42. - command:
  43. - "python -m pip install tox"
  44. - "tox -e py27,codecov"
  45. label: ":python: 2.7 / SQLite"
  46. env:
  47. TRIAL_FLAGS: "-j 2"
  48. plugins:
  49. - docker#v3.0.1:
  50. image: "python:2.7"
  51. propagate-environment: true
  52. - command:
  53. - "python -m pip install tox"
  54. - "tox -e py35,codecov"
  55. label: ":python: 3.5 / SQLite"
  56. env:
  57. TRIAL_FLAGS: "-j 2"
  58. plugins:
  59. - docker#v3.0.1:
  60. image: "python:3.5"
  61. propagate-environment: true
  62. - command:
  63. - "python -m pip install tox"
  64. - "tox -e py36,codecov"
  65. label: ":python: 3.6 / SQLite"
  66. env:
  67. TRIAL_FLAGS: "-j 2"
  68. plugins:
  69. - docker#v3.0.1:
  70. image: "python:3.6"
  71. propagate-environment: true
  72. - command:
  73. - "python -m pip install tox"
  74. - "tox -e py37,codecov"
  75. label: ":python: 3.7 / SQLite"
  76. env:
  77. TRIAL_FLAGS: "-j 2"
  78. plugins:
  79. - docker#v3.0.1:
  80. image: "python:3.7"
  81. propagate-environment: true
  82. - label: ":python: 2.7 / :postgres: 9.4"
  83. env:
  84. TRIAL_FLAGS: "-j 4"
  85. command:
  86. - "bash -c 'python -m pip install tox && python -m tox -e py27-postgres,codecov'"
  87. plugins:
  88. - docker-compose#v2.1.0:
  89. run: testenv
  90. config:
  91. - .buildkite/docker-compose.py27.pg94.yaml
  92. - label: ":python: 2.7 / :postgres: 9.5"
  93. env:
  94. TRIAL_FLAGS: "-j 4"
  95. command:
  96. - "bash -c 'python -m pip install tox && python -m tox -e py27-postgres,codecov'"
  97. plugins:
  98. - docker-compose#v2.1.0:
  99. run: testenv
  100. config:
  101. - .buildkite/docker-compose.py27.pg95.yaml
  102. - label: ":python: 3.5 / :postgres: 9.4"
  103. env:
  104. TRIAL_FLAGS: "-j 4"
  105. command:
  106. - "bash -c 'python -m pip install tox && python -m tox -e py35-postgres,codecov'"
  107. plugins:
  108. - docker-compose#v2.1.0:
  109. run: testenv
  110. config:
  111. - .buildkite/docker-compose.py35.pg94.yaml
  112. - label: ":python: 3.5 / :postgres: 9.5"
  113. env:
  114. TRIAL_FLAGS: "-j 4"
  115. command:
  116. - "bash -c 'python -m pip install tox && python -m tox -e py35-postgres,codecov'"
  117. plugins:
  118. - docker-compose#v2.1.0:
  119. run: testenv
  120. config:
  121. - .buildkite/docker-compose.py35.pg95.yaml
  122. - label: ":python: 3.7 / :postgres: 9.5"
  123. env:
  124. TRIAL_FLAGS: "-j 4"
  125. command:
  126. - "bash -c 'python -m pip install tox && python -m tox -e py37-postgres,codecov'"
  127. plugins:
  128. - docker-compose#v2.1.0:
  129. run: testenv
  130. config:
  131. - .buildkite/docker-compose.py37.pg95.yaml
  132. - label: ":python: 3.7 / :postgres: 11"
  133. env:
  134. TRIAL_FLAGS: "-j 4"
  135. command:
  136. - "bash -c 'python -m pip install tox && python -m tox -e py37-postgres,codecov'"
  137. plugins:
  138. - docker-compose#v2.1.0:
  139. run: testenv
  140. config:
  141. - .buildkite/docker-compose.py37.pg11.yaml