From 9803bc6a464f98718ed5637a6c9256b4d36fec3d Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Mon, 17 Aug 2020 09:43:13 +0300 Subject: [PATCH] Added server_config.json initialization to travis script. --- .travis.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0200ca8e3..b49fbcefe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,11 @@ python: os: linux +before_install: +# Init server_config.json to default +- cp monkey/monkey_island/cc/server_config.json.default monkey/monkey_island/cc/server_config.json +- ls monkey/monkey_island/cc/ + install: # Python - pip freeze @@ -50,7 +55,12 @@ install: before_script: # Set the server config to `testing`. This is required for for the UTs to pass. -- python monkey/monkey_island/cc/environment/set_server_config.py testing +- ls /home/travis/build/guardicore/monkey/ +- ls /home/travis/build/guardicore/ +- pushd /home/travis/build/guardicore/monkey/monkey +- ls ./ +- python monkey_island/cc/environment/set_server_config.py testing +- popd script: # Check Python code