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