2017-02-13 18:32:53 +01:00
|
|
|
language: python
|
2016-04-11 12:49:57 +02:00
|
|
|
|
2017-02-13 18:32:53 +01:00
|
|
|
cache: pip
|
|
|
|
|
|
|
|
python:
|
2019-05-13 11:27:39 +02:00
|
|
|
- "3.6-dev"
|
|
|
|
- "3.7-dev"
|
2016-04-11 12:49:57 +02:00
|
|
|
|
2017-02-13 18:32:53 +01:00
|
|
|
sudo: required
|
2016-04-11 12:49:57 +02:00
|
|
|
|
|
|
|
install:
|
2017-02-13 18:32:53 +01:00
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install -y -qq jq moreutils
|
2020-02-13 13:17:35 +01:00
|
|
|
- sudo apt-get install python3-pip
|
2019-05-13 11:27:39 +02:00
|
|
|
- pip install jsonschema pipenv
|
|
|
|
- pushd ..
|
|
|
|
# Install PyMISPGalaxies
|
|
|
|
- git clone https://github.com/MISP/PyMISPGalaxies.git
|
|
|
|
- pushd PyMISPGalaxies
|
|
|
|
- git submodule update --init
|
2020-07-02 11:27:08 +02:00
|
|
|
- git submodule foreach git pull origin main
|
2019-05-13 11:27:39 +02:00
|
|
|
- pipenv install -d
|
|
|
|
- popd
|
|
|
|
- popd
|
2016-04-11 12:49:57 +02:00
|
|
|
|
|
|
|
script:
|
2017-02-13 18:32:53 +01:00
|
|
|
- ./validate_all.sh
|
2019-05-13 11:27:39 +02:00
|
|
|
- pushd ../PyMISPGalaxies
|
|
|
|
- pipenv run nosetests-3.4 --with-coverage --cover-package=pymispgalaxies -d
|
|
|
|
- popd
|