Prepare to write unit tests

This commit is contained in:
Sheng
2018-04-22 20:10:11 +08:00
parent a39657a0be
commit 09d5804a09
25 changed files with 43 additions and 5 deletions
+20
View File
@@ -0,0 +1,20 @@
dist: trusty
sudo: false
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
install:
- pip install -r requirements.txt
- pip install pytest pytest-cov codecov flake8
script:
- pytest --cov=webssh
- flake8 --exclude='.git'
after_success:
- codecov