travis: Move linter to a separate job.

This commit is contained in:
derAnfaenger 2017-08-17 13:46:36 +02:00 committed by Tim Abbott
parent 7460aca3e5
commit 14ebc24f59
2 changed files with 20 additions and 3 deletions

15
tools/travis_tests Executable file
View file

@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -ev
CURRENT_DIR=$(dirname "$0")
cd "$CURRENT_DIR"
cd ..
if [ "$TEST_SUITE" == "linter" ]
then
tools/lint
else
python -m unittest discover -v zulip_botserver
tools/test-bots
fi