cowrie/.travis.yml

41 lines
1.7 KiB
YAML

sudo: required
group: stable
dist: bionic
os: linux
language: python
services:
- docker
python:
- '3.6'
- '3.7'
- '3.8'
- '3.9'
- '3.10-dev'
- 'nightly'
install:
- sudo apt-get -y install qemu qemu-system-arm qemu-system-x86 libvirt-dev libvirt-daemon libvirt-daemon-system libvirt-clients nmap
- pip install -r requirements.txt
- pip install -r requirements-dev.txt
- pip install libvirt-python==5.5.0
before_script:
# stop the build if there are Python syntax errors or undefined names
- flake8 --ignore E203,E501,W503 --count --application-import-names cowrie --statistics .
- mypy src
- twistedchecker src || true
- pytype || true
- pyre --noninteractive analyze || true
- python setup.py build sdist bdist
- make -C docs html
script:
- PYTHONPATH=${TRAVIS_BUILD_DIR}/src trial cowrie
notifications:
email: false
slack:
secure: DiFWUr5A+YPJ5vGbjLCHRdp+TM6dDI7/b3JuyE+bBdV4BVpQsYx2XhH1nVdDXYTf2jaT0jjYnRQuQKTHXJWSrBlklozdVf+WOJmlFFZ3WZmyn6EgwfqE9fuz9vZcD1Yt1M1Fxu14Ffj1iWxiQ+VATxsYtowcOMgAESyYS31qhcMS48jvf/V1TCBh/Bi5nk+xkoZ3ThMg8w+sXSzUp17IP/T8uWUl28Y401lk4diV7GFVNJx66IT6u0CY0i0dOV69qPggHUn43NigIh9zv0QhjE2WLVcVUSDsDte+xVrEyvovJ+xdy08x/X9pa2d/tDycZz2nBEktIZLSxF65p7jBlytCLVwW8lhgRgZZSd142S0FvpRx8vap4CbtgLs7ltzJF3X1Ca0LsUe5vDgoJPd5eYCNCxowJldT8eWqIzmWwo2/PXOsAM5FJg5l7QIWH6gSEaauC/8Nn74or+wpLJsP5j1GqIGwDCRv3qclv/KHJWb8azPoov8csf4ulI270I5ihXeA8+rEZWekpgY2RHfcTwFgllxA1AnBqLsaCECkatYauLHyblYdOSbQJYB2a3ZwWoNoQ5WBt/FSzFxuYJPySPwXyRnXlBCxt0xMK+qTCA3k5RwPG5gbre1tgZPbxMn23AkRLBsITPYdEPZMfz6dRavWr8ZObfbXeblAf3xtBss=
matrix:
allow_failures:
- python: '3.10-dev'
- python: 'nightly'
after_success:
- bash <(curl -s https://codecov.io/bash)