From 572c7a94dff0f4a87e98b71891cd9abcd4cabe50 Mon Sep 17 00:00:00 2001 From: startxfr Date: Sat, 28 Nov 2015 07:41:33 +0100 Subject: adding travis --- run-tests.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'run-tests.sh') diff --git a/run-tests.sh b/run-tests.sh index c8fd72d..0b7cade 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -3,11 +3,10 @@ set -ev mkdir /tmp/startx-docker-images; cd /tmp/startx-docker-images; git clone https://github.com/startxfr/docker-images.git /tmp/startx-docker-images -sudo docker build -t fedora OS/ -sudo docker run -it --name="fedora" fedora bash +sudo docker-compose build sudo docker-compose up -d sudo docker-compose logs -exit 1; +echo $TRAVIS_PULL_REQUEST if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then exit 0; fi \ No newline at end of file -- cgit v1.2.3