travis: Run mypy and linter in a single job.

This commit is contained in:
derAnfaenger 2017-09-26 17:20:26 +02:00
parent 85f2a9e03d
commit 5ecc26886a
2 changed files with 7 additions and 3 deletions

View file

@ -8,9 +8,7 @@ env: TEST_SUITE=test-main
matrix: matrix:
include: include:
- python: "3.6" - python: "3.6"
env: TEST_SUITE=lint env: TEST_SUITE=test-static-analysis
- python: "3.6"
env: TEST_SUITE=run-mypy
install: install:
- tools/provision - tools/provision
- source zulip-api-py*-venv/bin/activate - source zulip-api-py*-venv/bin/activate

6
tools/test-static-analysis Executable file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -ev
tools/lint
tools/run-mypy