Add tools/run-mypy to Travis checks.

Fixes #635.
This commit is contained in:
Eklavya Sharma
2016-04-18 15:16:53 +05:30
committed by Tim Abbott
parent 1af4334887
commit c80f699321
3 changed files with 14 additions and 0 deletions

View File

@@ -14,6 +14,10 @@ env:
language: python
python:
- "2.7"
matrix:
include:
- python: "3.4"
env: TEST_SUITE=mypy
# command to run tests
script:
- ./tools/travis/$TEST_SUITE

5
tools/travis/mypy Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
set -e
set -x
./tools/run-mypy

5
tools/travis/setup-mypy Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
set -e
set -x
pip install "six==1.10.0"
pip install "git+https://github.com/python/mypy.git@5d2dfce8cf6b9a0a7ce8fe8e3cb5866094459f8c"