Fixed requirement installation in travis to install from lock files, so that travis would ideally replicate our development

This commit is contained in:
VakarisZ 2021-04-14 17:06:16 +03:00 committed by Mike Salvatore
parent 00e9940a0b
commit e4415d822a
1 changed files with 3 additions and 3 deletions

View File

@ -23,12 +23,12 @@ before_install:
install: install:
# Python # Python
- pip install pipenv - pip install pipenv
# Install requirements as they are needed by UT's # Install island and monkey requirements as they are needed by UT's
- pushd monkey/monkey_island - pushd monkey/monkey_island
- pipenv install - pipenv sync # This installs dependencies from lock
- popd - popd
- pushd monkey/infection_monkey - pushd monkey/infection_monkey
- pipenv install - pipenv sync # This installs dependencies from lock
- popd - popd
- pipenv install black==20.8b1 flake8==3.9.0 pytest pytest-cov isort==5.8.0 # for next stages - pipenv install black==20.8b1 flake8==3.9.0 pytest pytest-cov isort==5.8.0 # for next stages
- pipenv install coverage # for code coverage - pipenv install coverage # for code coverage