From de960237a4b32229119d17a3c6bd31caf78b902d Mon Sep 17 00:00:00 2001 From: Faerbit Date: Thu, 12 Feb 2015 01:19:34 +0100 Subject: [PATCH] Fixing CI system. --- circle.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/circle.yml b/circle.yml index 4d58bc0..a494091 100644 --- a/circle.yml +++ b/circle.yml @@ -21,11 +21,12 @@ test: override: - docker run -v ~/swp:/swp/swp -w=/swp/swp -u=$(id -u) faerbit/swp ./package.sh linux - docker run -v ~/swp:/swp/swp -w=/swp/swp -u=$(id -u) faerbit/swp ./package.sh windows - - cp MarbleGame_Windows.zip MarbleGame_Linux.zip $CIRCLE_ARTIFACTS + - if [ -f MarbleGame_Windows.zip ]; then; cp MarbleGame_Windows.zip $CIRCLE_ARTIFACTS + - if [ -f MarbleGame_Linux.zip ]; then; cp MarbleGame_Linux.zip $CIRCLE_ARTIFACTS deployment: master: branch: master commands: - - ./dropbox_uploader.sh -p upload MarbleGame_Windows.zip / - - ./dropbox_uploader.sh -p upload MarbleGame_Linux.zip / + - if [ -f MarbleGame_Windows.zip ]; then; ./dropbox_uploader.sh -p upload MarbleGame_Windows.zip / + - if [ -f MarbleGame_Linux.zip ]; then; ./dropbox_uploader.sh -p upload MarbleGame_Linux.zip /