mirror of
https://github.com/MISP/misp-galaxy.git
synced 2024-11-27 09:17:20 +00:00
30 lines
662 B
YAML
30 lines
662 B
YAML
language: python
|
|
|
|
cache: pip
|
|
|
|
python:
|
|
- "3.6-dev"
|
|
- "3.7-dev"
|
|
|
|
sudo: required
|
|
|
|
install:
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install -y -qq jq moreutils
|
|
- sudo apt-get install python3-pip
|
|
- 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 main
|
|
- pipenv install -d
|
|
- popd
|
|
- popd
|
|
|
|
script:
|
|
- ./validate_all.sh
|
|
- pushd ../PyMISPGalaxies
|
|
- pipenv run nosetests-3.4 --with-coverage --cover-package=pymispgalaxies -d
|
|
- popd
|