Permalink
Browse files

merge pep8 and unit test into one bundle

  • Loading branch information...
1 parent 33006cc commit 445f2877a57542dd868101e1336feb7996f7ddbc Dawen Liang committed Nov 14, 2016
Showing with 3 additions and 10 deletions.
  1. +3 −10 .travis.yml
View
@@ -4,8 +4,6 @@ language: python
matrix:
include:
- python: 2.7
- - python: 2.7
- env: TEST_MODE=PEP8
- python: 3.4
notifications:
email: false
@@ -39,12 +37,7 @@ install:
fi
- python setup.py install
script:
- - if [[ "$TEST_MODE" == "PEP8" ]]; then
- PYTHONPATH=$PWD:$PYTHONPATH py.test --pep8 -m pep8 -n0;
- else
- PYTHONPATH=$PWD:$PYTHONPATH py.test --cov=./;
- fi
+ - PYTHONPATH=$PWD:$PYTHONPATH py.test --cov=./ --pep8;
+
after_success:
- - if [[ "$TEST_MODE" != "PEP8"]]; then
- coveralls
- fi
+ - coveralls

0 comments on commit 445f287

Please sign in to comment.