From 42a0c27b246abca0d79b7db21a8aedba135e30cd Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Wed, 25 Jan 2017 14:20:22 -0800 Subject: [PATCH] Install mypy and flake8 in Travis environment. --- .travis.yml | 5 ++++- test-all.sh | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 034d0e6c55..7bd682fcfc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,5 +3,8 @@ rust: - stable - beta - nightly +install: pip install --upgrade mypy flake8 script: ./test-all.sh -cache: cargo +cache: + - cargo + - pip diff --git a/test-all.sh b/test-all.sh index bf2270efb6..ef85cd19ee 100755 --- a/test-all.sh +++ b/test-all.sh @@ -40,7 +40,7 @@ else echo "If a newer version of rustfmt is available, update this script." fi -banner "Python checks" +banner $(python --version 2>&1) $topdir/lib/cretonne/meta/check.sh PKGS="cretonne cretonne-reader cretonne-tools filecheck"