forked from p15670423/monkey
Updated travis to use pipenv
This commit is contained in:
parent
7f928fa90d
commit
e7cef5fd9f
19
.travis.yml
19
.travis.yml
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue