add PEP8 check in travis CI

This commit is contained in:
clowwindy 2014-08-27 00:02:24 +08:00
parent eb7ef6e6e3
commit b468476c9c

View file

@ -9,9 +9,10 @@ cache:
before_install: before_install:
- sudo apt-get update -qq - sudo apt-get update -qq
- sudo apt-get install -qq build-essential libssl-dev swig python-m2crypto python-numpy dnsutils - sudo apt-get install -qq build-essential libssl-dev swig python-m2crypto python-numpy dnsutils
- pip install m2crypto salsa20 - pip install m2crypto salsa20 pep8
- sudo tests/socksify/install.sh - sudo tests/socksify/install.sh
script: script:
- pep8 .
- python tests/test.py -c tests/table.json - python tests/test.py -c tests/table.json
- python tests/test.py -c tests/aes.json - python tests/test.py -c tests/aes.json
- python tests/test.py -c tests/salsa20.json - python tests/test.py -c tests/salsa20.json