misp-galaxy/.travis.yml

30 lines
625 B
YAML
Raw Normal View History

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
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
- git submodule foreach git pull origin master
- 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