Updated travis to use pipenv

This commit is contained in:
VakarisZ 2021-04-14 16:01:10 +03:00 committed by Mike Salvatore
parent 7f928fa90d
commit e7cef5fd9f
1 changed files with 11 additions and 8 deletions

View File

@ -22,14 +22,17 @@ before_install:
install:
# Python
- pip freeze
- pip install -r monkey/monkey_island/requirements.txt # for unit tests
- pip install black==20.8b1 flake8==3.9.0 pytest pytest-cov isort==5.8.0 # for next stages
- pip install coverage # for code coverage
- pip install -r monkey/infection_monkey/requirements.txt # for unit tests
- pip install pipdeptree
# Fail builds on possible conflicting dependencies.
- pipdeptree --warn fail
- pip install pipenv
# Install requirements as they are needed by UT's
- pushd monkey/monkey_island
- pipenv install
- popd
- pushd monkey/infection_monkey
- pipenv install
- popd
- 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
# node + npm + eslint
- node --version