2016-07-27 15:24:33 +02:00
|
|
|
language: python
|
|
|
|
|
|
|
|
cache: pip
|
2016-04-11 12:38:28 +02:00
|
|
|
|
|
|
|
sudo: required
|
|
|
|
|
|
|
|
dist: trusty
|
|
|
|
|
2016-07-27 15:24:33 +02:00
|
|
|
python:
|
|
|
|
- "3.4"
|
|
|
|
- "3.5"
|
|
|
|
- "3.5-dev"
|
2017-02-13 12:01:05 +01:00
|
|
|
- "3.6"
|
|
|
|
- "3.6-dev"
|
2016-07-27 15:24:33 +02:00
|
|
|
- "nightly"
|
|
|
|
|
2016-04-11 12:38:28 +02:00
|
|
|
install:
|
2017-02-13 12:01:05 +01:00
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install -y -qq jq moreutils
|
|
|
|
- pip install jsonschema
|
2016-07-27 15:24:33 +02:00
|
|
|
- git clone https://github.com/MISP/PyTaxonomies.git
|
|
|
|
- pushd PyTaxonomies
|
|
|
|
- pip install .
|
|
|
|
- popd
|
2016-04-11 12:38:28 +02:00
|
|
|
|
|
|
|
script:
|
2017-02-13 12:01:05 +01:00
|
|
|
- ./validate_all.sh
|
2016-07-27 15:24:33 +02:00
|
|
|
- pytaxonomies -l MANIFEST.json -a
|
2017-07-19 18:22:38 +02:00
|
|
|
- pushd PyTaxonomies
|
|
|
|
- pip install -r website/REQUIREMENTS.txt
|
|
|
|
- git clone https://github.com/MISP/misp-taxonomies.git
|
|
|
|
- nosetests
|
|
|
|
- popd
|