misp-modules/.travis.yml

40 lines
791 B
YAML
Raw Normal View History

2016-04-11 11:24:20 +02:00
language: python
cache: pip
2016-04-28 14:26:30 +02:00
services:
- redis-server
2016-04-11 11:24:20 +02:00
python:
- "3.3"
- "3.4"
- "3.5"
2016-08-12 14:51:26 +02:00
- "3.5-dev"
2016-04-11 11:24:20 +02:00
- "nightly"
install:
2016-08-12 14:51:26 +02:00
- pip install -U nose
- pip install coveralls
- pip install codecov
- pip install -U -r REQUIREMENTS
- pip install .
2016-04-11 11:24:20 +02:00
script:
2016-08-12 14:51:26 +02:00
- 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 ~/
2016-08-12 14:51:26 +02:00
- coverage run -m --parallel-mode --source=misp_modules misp_modules.__init__ -s &
- pid=$!
2016-06-23 12:53:45 +02:00
- popd
2016-08-12 14:51:26 +02:00
- sleep 5
- nosetests --with-coverage --cover-package=misp_modules
- kill -s INT $pid
after_success:
- coverage combine .coverage*
- codecov
- coveralls