mirror of https://github.com/MISP/misp-modules
Modules for expansion services, import and export in MISP
http://misp.github.io/misp-modules
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
779 B
38 lines
779 B
language: python |
|
|
|
services: |
|
- redis-server |
|
|
|
cache: pip |
|
|
|
python: |
|
- "3.4" |
|
- "3.5" |
|
- "3.5-dev" |
|
- "nightly" |
|
|
|
install: |
|
- pip install -U nose |
|
- pip install coveralls |
|
- pip install codecov |
|
- pip install -U -r REQUIREMENTS |
|
- pip install . |
|
|
|
script: |
|
- coverage run -m --parallel-mode --source=misp_modules misp_modules.__init__ & |
|
- pid=$! |
|
- sleep 5 |
|
- nosetests --with-coverage --cover-package=misp_modules |
|
- kill -s INT $pid |
|
- pushd ~/ |
|
- coverage run -m --parallel-mode --source=misp_modules misp_modules.__init__ -s & |
|
- pid=$! |
|
- popd |
|
- sleep 5 |
|
- nosetests --with-coverage --cover-package=misp_modules |
|
- kill -s INT $pid |
|
|
|
after_success: |
|
- coverage combine .coverage* |
|
- codecov |
|
- coveralls
|
|
|