Added server_config.json initialization to travis script.

This commit is contained in:
VakarisZ 2020-08-17 09:43:13 +03:00
parent 2e95d367b8
commit 9803bc6a46
1 changed files with 11 additions and 1 deletions

View File

@ -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