From 6679f2c8e3222de9d1a6a53acd9f85e2cb737f20 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Tue, 19 Feb 2019 16:41:01 +0100 Subject: [PATCH] updated travis --- .travis.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index d6f25cb6..ee7d8fe7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,15 +15,12 @@ jobs: - stage: "build" name: TeaWeb build master branch script: - - "pwd" - - "echo $SHIPPABLE_BUILD_DIR" - - "echo $SHIPPABLE_BUILD_DIR" - - "exit 1" - - "mkdir build" - - "docker run --rm -v `pwd`/build/logs/:/build/logs/ -v `pwd`/build/packages/:/build/packages/ $DOCKER_USERNAME/teaweb:build_new --enable-release --enable-debug" - - "ls -lah build/" - - "ls -lah build/logs/" - - "ls -lah build/packages/" + - "echo \"$SHIPPABLE_BUILD_DIR\"" + - "echo \"$SHIPPABLE_DATA_DIR\"" + - "docker run --rm -v $SHIPPABLE_DATA_DIR/build/logs/:/build/logs/ -v $SHIPPABLE_DATA_DIR/build/packages/:/build/packages/ -v $SHIPPABLE_BUILD_DIR:/build/TeaWeb $DOCKER_USERNAME/teaweb:build_new --enable-release --enable-debug" + - "ls -lah $SHIPPABLE_DATA_DIR/build/" + - "ls -lah $SHIPPABLE_DATA_DIR/build/logs/" + - "ls -lah $SHIPPABLE_DATA_DIR/build/packages/" #TODO: Upload! - stage: "deploy" name: Deploy the builded files as official release