chg: Add PyMISPGalaxies test

pull/402/head
Raphaël Vinot 2019-05-13 11:27:39 +02:00
parent 59869bf145
commit 2c3424b331
1 changed files with 15 additions and 2 deletions

View File

@ -3,14 +3,27 @@ language: python
cache: pip
python:
- "3.6"
- "3.6-dev"
- "3.7-dev"
sudo: required
install:
- sudo apt-get update -qq
- sudo apt-get install -y -qq jq moreutils
- pip install jsonschema
- pip install jsonschema pipenv
- pushd ..
# Install PyMISPGalaxies
- git clone https://github.com/MISP/PyMISPGalaxies.git
- pushd PyMISPGalaxies
- git submodule update --init
- git submodule foreach git pull origin master
- pipenv install -d
- popd
- popd
script:
- ./validate_all.sh
- pushd ../PyMISPGalaxies
- pipenv run nosetests-3.4 --with-coverage --cover-package=pymispgalaxies -d
- popd