chg: Add PyMISPGalaxies test

This commit is contained in:
Raphaël Vinot 2019-05-13 11:27:39 +02:00
parent 59869bf145
commit 2c3424b331

View file

@ -3,14 +3,27 @@ language: python
cache: pip cache: pip
python: python:
- "3.6" - "3.6-dev"
- "3.7-dev"
sudo: required sudo: required
install: install:
- sudo apt-get update -qq - sudo apt-get update -qq
- sudo apt-get install -y -qq jq moreutils - 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: script:
- ./validate_all.sh - ./validate_all.sh
- pushd ../PyMISPGalaxies
- pipenv run nosetests-3.4 --with-coverage --cover-package=pymispgalaxies -d
- popd