Install mypy and flake8 in Travis environment.

This commit is contained in:
Jakob Stoklund Olesen
2017-01-25 14:20:22 -08:00
parent 2932d41f18
commit 42a0c27b24
2 changed files with 5 additions and 2 deletions

View File

@@ -3,5 +3,8 @@ rust:
- stable - stable
- beta - beta
- nightly - nightly
install: pip install --upgrade mypy flake8
script: ./test-all.sh script: ./test-all.sh
cache: cargo cache:
- cargo
- pip

View File

@@ -40,7 +40,7 @@ else
echo "If a newer version of rustfmt is available, update this script." echo "If a newer version of rustfmt is available, update this script."
fi fi
banner "Python checks" banner $(python --version 2>&1)
$topdir/lib/cretonne/meta/check.sh $topdir/lib/cretonne/meta/check.sh
PKGS="cretonne cretonne-reader cretonne-tools filecheck" PKGS="cretonne cretonne-reader cretonne-tools filecheck"