chg: Use poetry in travis

pull/5668/head
Raphaël Vinot 2020-02-26 15:25:44 +01:00
parent b39a369356
commit 08bc8a6a82
2 changed files with 6 additions and 6 deletions

View File

@ -31,7 +31,7 @@ install:
- sudo apt-get -y dist-upgrade
- sudo pip3 install --upgrade pip setuptools requests pyzmq
- sudo pip3 install --upgrade -r requirements.txt
- sudo pip3 install pipenv
- sudo pip3 install poetry
- phpenv rehash
- sudo mkdir $HOME/.composer ; sudo chown $USER:www-data $HOME/.composer
- pushd app
@ -151,13 +151,13 @@ script:
- pushd PyMISP
- git submodule init
- git submodule update
- pipenv install -d
- pipenv run python tests/testlive_comprehensive.py
- pipenv run python tests/test_mispevent.py
- poetry install
- poetry run python tests/testlive_comprehensive.py
- poetry run python tests/test_mispevent.py
- popd
- cp PyMISP/tests/keys.py PyMISP/examples/events/
- pushd PyMISP/examples/events/
- pipenv run python ./create_massive_dummy_events.py -l 5 -a 30
- poetry run python ./create_massive_dummy_events.py -l 5 -a 30
- popd
- pushd app/files/feed-metadata
- jsonschema -i defaults.json schema.json

2
PyMISP

@ -1 +1 @@
Subproject commit d6888b5fc97bc7fef35c5a2c41229a4d4a294052
Subproject commit 7d60cbd9c96d8274e1b49527d05b418965df6ec5