mirror of
https://github.com/MISP/misp-galaxy.git
synced 2024-11-22 14:57:18 +00:00
chg: Add PyMISPGalaxies test
This commit is contained in:
parent
59869bf145
commit
2c3424b331
1 changed files with 15 additions and 2 deletions
17
.travis.yml
17
.travis.yml
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue