2017-02-13 17:32:53 +00:00
|
|
|
language: python
|
2016-04-11 10:49:57 +00:00
|
|
|
|
2017-02-13 17:32:53 +00:00
|
|
|
cache: pip
|
|
|
|
|
|
|
|
python:
|
2019-05-13 09:27:39 +00:00
|
|
|
- "3.6-dev"
|
|
|
|
- "3.7-dev"
|
2016-04-11 10:49:57 +00:00
|
|
|
|
2017-02-13 17:32:53 +00:00
|
|
|
sudo: required
|
2016-04-11 10:49:57 +00:00
|
|
|
|
|
|
|
install:
|
2017-02-13 17:32:53 +00:00
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install -y -qq jq moreutils
|
2020-02-13 12:17:35 +00:00
|
|
|
- sudo apt-get install python3-pip
|
2019-05-13 09:27:39 +00: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 09:27:08 +00:00
|
|
|
- git submodule foreach git pull origin main
|
2019-05-13 09:27:39 +00:00
|
|
|
- pipenv install -d
|
|
|
|
- popd
|
|
|
|
- popd
|
2016-04-11 10:49:57 +00:00
|
|
|
|
|
|
|
script:
|
2017-02-13 17:32:53 +00:00
|
|
|
- ./validate_all.sh
|
2019-05-13 09:27:39 +00:00
|
|
|
- pushd ../PyMISPGalaxies
|
|
|
|
- pipenv run nosetests-3.4 --with-coverage --cover-package=pymispgalaxies -d
|
|
|
|
- popd
|