From d756ad578a856c24bd06340329d5aceb9806e777 Mon Sep 17 00:00:00 2001 From: startxfr Date: Sat, 28 Nov 2015 07:18:20 +0100 Subject: adding travis --- run-tests.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 run-tests.sh (limited to 'run-tests.sh') diff --git a/run-tests.sh b/run-tests.sh new file mode 100644 index 0000000..585f279 --- /dev/null +++ b/run-tests.sh @@ -0,0 +1,13 @@ +#!/bin/bash +set -ev +sudo mkdir startx-docker-images; +sudo cd startx-docker-images; +sudo git clone https://github.com/startxfr/docker-images.git . +sudo docker build -t fedora OS/ +sudo docker run -it --name="fedora" fedora bash +sudo docker-compose up -d +sudo docker-compose logs +exit 1; +if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then + exit 0; +fi \ No newline at end of file -- cgit v1.2.3