travis: Run mypy and linter in a single job.
This commit is contained in:
parent
85f2a9e03d
commit
5ecc26886a
|
@ -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
6
tools/test-static-analysis
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -ev
|
||||||
|
|
||||||
|
tools/lint
|
||||||
|
tools/run-mypy
|
Loading…
Reference in a new issue