2016-08-17 18:36:01 +02:00
|
|
|
language: python
|
|
|
|
|
|
|
|
cache: pip
|
|
|
|
|
2017-08-25 17:48:57 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources: [ 'ubuntu-toolchain-r-test' ]
|
|
|
|
packages:
|
|
|
|
- libstdc++6
|
|
|
|
- libfuzzy-dev
|
|
|
|
|
2016-08-17 18:36:01 +02:00
|
|
|
python:
|
|
|
|
- "2.7"
|
|
|
|
- "3.5-dev"
|
2017-01-24 09:50:34 +01:00
|
|
|
- "3.6"
|
|
|
|
- "3.6-dev"
|
2016-08-17 18:36:01 +02:00
|
|
|
|
|
|
|
install:
|
2019-01-18 17:39:34 +01:00
|
|
|
- pip install pipenv
|
|
|
|
- pipenv install --dev
|
2017-08-25 17:14:33 +02:00
|
|
|
- pushd tests
|
|
|
|
- git clone https://github.com/viper-framework/viper-test-files.git
|
|
|
|
- popd
|
2016-08-17 18:36:01 +02:00
|
|
|
|
|
|
|
script:
|
2019-01-18 17:39:34 +01:00
|
|
|
- pipenv run nosetests --with-coverage --cover-package=pymisp,tests --cover-tests tests/test_*.py
|
2016-08-17 18:36:01 +02:00
|
|
|
|
|
|
|
after_success:
|
2019-01-25 10:35:53 +01:00
|
|
|
- pipenv run codecov
|
|
|
|
- pipenv run coveralls
|