forked from p15670423/monkey
Added server_config.json initialization to travis script.
This commit is contained in:
parent
2e95d367b8
commit
9803bc6a46
12
.travis.yml
12
.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
|
||||
|
|
Loading…
Reference in New Issue