config.yml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. version: 2
  2. jobs:
  3. sytestpy2:
  4. machine: true
  5. steps:
  6. - checkout
  7. - run: docker pull matrixdotorg/sytest-synapsepy2
  8. - run: docker run --rm -it -v $(pwd)\:/src -v $(pwd)/logs\:/logs matrixdotorg/sytest-synapsepy2
  9. - store_artifacts:
  10. path: ~/project/logs
  11. destination: logs
  12. sytestpy2postgres:
  13. machine: true
  14. steps:
  15. - checkout
  16. - run: docker pull matrixdotorg/sytest-synapsepy2
  17. - run: docker run --rm -it -v $(pwd)\:/src -v $(pwd)/logs\:/logs -e POSTGRES=1 matrixdotorg/sytest-synapsepy2
  18. - store_artifacts:
  19. path: ~/project/logs
  20. destination: logs
  21. sytestpy3:
  22. machine: true
  23. steps:
  24. - checkout
  25. - run: docker pull matrixdotorg/sytest-synapsepy3
  26. - run: docker run --rm -it -v $(pwd)\:/src -v $(pwd)/logs\:/logs hawkowl/sytestpy3
  27. - store_artifacts:
  28. path: ~/project/logs
  29. destination: logs
  30. sytestpy3postgres:
  31. machine: true
  32. steps:
  33. - checkout
  34. - run: docker pull matrixdotorg/sytest-synapsepy3
  35. - run: docker run --rm -it -v $(pwd)\:/src -v $(pwd)/logs\:/logs -e POSTGRES=1 matrixdotorg/sytest-synapsepy3
  36. - store_artifacts:
  37. path: ~/project/logs
  38. destination: logs
  39. workflows:
  40. version: 2
  41. build:
  42. jobs:
  43. - sytestpy2
  44. - sytestpy2postgres
  45. # Currently broken while the Python 3 port is incomplete
  46. # - sytestpy3
  47. # - sytestpy3postgres