From 9b52f0a8584e99e5aa38e97cf1392a5fa6943985 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Sat, 23 Feb 2019 14:23:45 +0100 Subject: [PATCH] fixed travis file --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b77c2235..7817dc23 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,9 +16,9 @@ jobs: name: TeaWeb build master branch script: - "mkdir -p /tmp/build" - - "docker run --rm -v /tmp/build/logs/:/build/logs/ -v /tmp/build/packages/:/build/packages/ -v `pwd`:/build/TeaWeb $DOCKER_USERNAME/teaweb:build_new --enable-release --enable-debug" + - "docker run --rm -v /tmp/build/logs/:/build/logs/ -v /tmp/build/packages/:/build/packages/ -v `pwd`:/build/TeaWeb $DOCKER_USERNAME/teaweb:build_new --enable-release --enable-debug || travis_terminate 1;" - "ls -lah /tmp/build/" - "ls -lah /tmp/build/logs/" - "ls -lah /tmp/build/packages/" - - "./scripts/travis_deploy.sh" + - "./scripts/travis_deploy.sh || travis_terminate 1;" if: branch = master \ No newline at end of file