From b74f0554b7a40f2481db8baf3c986516f522f127 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 9 Jan 2020 14:27:22 +0300 Subject: Travis: add docker tests --- .travis/docker/docker-compose.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .travis/docker/docker-compose.yml (limited to '.travis/docker/docker-compose.yml') diff --git a/.travis/docker/docker-compose.yml b/.travis/docker/docker-compose.yml new file mode 100644 index 0000000..2b27bdd --- /dev/null +++ b/.travis/docker/docker-compose.yml @@ -0,0 +1,16 @@ +version: '3' +services: + server: + build: + context: . + dockerfile: server/Dockerfile + image: server + client: + build: + context: ../.. + dockerfile: Dockerfile + image: client + volumes: + - ./client/etc/:/etc/cgit-repos:ro + - "$SSH_AUTH_SOCK:/var/run/cgit-repos/ssh-agent.sock" + - ./client/var/output:/var/tmp/cgit-repos/output -- cgit v1.2.3