mirror of https://github.com/MISP/misp-modules
Update travis, fix open ioc import
parent
a510098b10
commit
c42c8a800e
|
@ -9,12 +9,12 @@ python:
|
||||||
- "3.4"
|
- "3.4"
|
||||||
- "3.5"
|
- "3.5"
|
||||||
- "3.5-dev"
|
- "3.5-dev"
|
||||||
|
- "3.6"
|
||||||
|
- "3.6-dev"
|
||||||
- "nightly"
|
- "nightly"
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- pip install -U nose
|
- pip install -U nose codecov pytest
|
||||||
- pip install coveralls
|
|
||||||
- pip install codecov
|
|
||||||
- pip install -U -r REQUIREMENTS
|
- pip install -U -r REQUIREMENTS
|
||||||
- pip install .
|
- pip install .
|
||||||
|
|
||||||
|
@ -35,4 +35,3 @@ script:
|
||||||
after_success:
|
after_success:
|
||||||
- coverage combine .coverage*
|
- coverage combine .coverage*
|
||||||
- codecov
|
- codecov
|
||||||
- coveralls
|
|
||||||
|
|
|
@ -69,7 +69,7 @@ def handler(q=False):
|
||||||
"comment":attrib.comment
|
"comment":attrib.comment
|
||||||
}
|
}
|
||||||
# add tag
|
# add tag
|
||||||
if q['config'].get('default tag') is not None:
|
if q.get('config') and q['config'].get('default tag') is not None:
|
||||||
toAppend["tags"] = q['config']['default tag'].split(",")
|
toAppend["tags"] = q['config']['default tag'].split(",")
|
||||||
|
|
||||||
r["results"].append(toAppend)
|
r["results"].append(toAppend)
|
||||||
|
|
Loading…
Reference in New Issue