diff --git a/.travis.yml b/.travis.yml index ee440a3ac..cc4f6a25c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,12 @@ python: # command to install dependencies install: - pip install -r requirements.txt + - pip install pyflakes # Deal with issue on Travis builders re: multiprocessing.Queue :( - "sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm" # command to run tests -script: make unit functional +script: + - make unit functional + # Check that there are no syntax errors + - find lettuce -type f -name "*.py" -print | xargs python -m py_compile + - find lettuce -type f -name "*.py" -print | xargs pyflakes