summary refs log tree commit diff
path: root/.buildkite/docker-compose.py27.pg94.yaml
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2019-02-27 13:03:14 -0800
committerGitHub <noreply@github.com>2019-02-27 13:03:14 -0800
commitf2a753ea3833a0f9ab8f1d6ca5e7d0282adb109d (patch)
tree09fa928e9437a04bf0cb7668dbc1ee29999766e6 /.buildkite/docker-compose.py27.pg94.yaml
parentMerge pull request #4759 from matrix-org/erikj/3pid_client_reader (diff)
downloadsynapse-f2a753ea3833a0f9ab8f1d6ca5e7d0282adb109d.tar.xz
Move from TravisCI to BuildKite (#4752)
Diffstat (limited to '.buildkite/docker-compose.py27.pg94.yaml')
-rw-r--r--.buildkite/docker-compose.py27.pg94.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.buildkite/docker-compose.py27.pg94.yaml b/.buildkite/docker-compose.py27.pg94.yaml
new file mode 100644
index 0000000000..2d4b9eadd9
--- /dev/null
+++ b/.buildkite/docker-compose.py27.pg94.yaml
@@ -0,0 +1,21 @@
+version: '3.1'
+
+services:
+
+  postgres:
+    image: postgres:9.4
+    environment:
+      POSTGRES_PASSWORD: postgres
+
+  testenv:
+    image: python:2.7
+    depends_on:
+      - postgres
+    env_file: .env
+    environment:
+      SYNAPSE_POSTGRES_HOST: postgres
+      SYNAPSE_POSTGRES_USER: postgres
+      SYNAPSE_POSTGRES_PASSWORD: postgres
+    working_dir: /app
+    volumes:
+      - ..:/app