mirror of https://github.com/MISP/misp-modules
40 lines
791 B
YAML
40 lines
791 B
YAML
language: python
|
|
|
|
cache: pip
|
|
|
|
services:
|
|
- redis-server
|
|
|
|
python:
|
|
- "3.3"
|
|
- "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
|