add docker infra

This commit is contained in:
Michel Oosterhof 2018-09-08 09:52:01 +04:00
parent 96577bde0d
commit f59b9513a0
1 changed files with 16 additions and 12 deletions

View File

@ -1,7 +1,10 @@
sudo: required
group: stable group: stable
dist: xenial dist: xenial
os: linux os: linux
language: python language: python
services:
- docker
python: python:
- '2.7' - '2.7'
- '3.5' - '3.5'
@ -14,7 +17,8 @@ before_script:
- pip install flake8 flake8-import-order - pip install flake8 flake8-import-order
# stop the build if there are Python syntax errors or undefined names # stop the build if there are Python syntax errors or undefined names
- flake8 --count --application-import-names cowrie --max-line-length=120 --statistics . - flake8 --count --application-import-names cowrie --max-line-length=120 --statistics .
script: PYTHONPATH=${TRAVIS_BUILD_DIR}/src trial cowrie script:
- PYTHONPATH=${TRAVIS_BUILD_DIR}/src trial cowrie
notifications: notifications:
email: false email: false
slack: slack: