Skip to content

Commit 5ecc268

Browse files
committed
travis: Run mypy and linter in a single job.
1 parent 85f2a9e commit 5ecc268

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ env: TEST_SUITE=test-main
88
matrix:
99
include:
1010
- python: "3.6"
11-
env: TEST_SUITE=lint
12-
- python: "3.6"
13-
env: TEST_SUITE=run-mypy
11+
env: TEST_SUITE=test-static-analysis
1412
install:
1513
- tools/provision
1614
- source zulip-api-py*-venv/bin/activate

tools/test-static-analysis

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env bash
2+
3+
set -ev
4+
5+
tools/lint
6+
tools/run-mypy

0 commit comments

Comments
 (0)