From e37b4abd32ba19b32ad3e9a2224e1bad9098a88a Mon Sep 17 00:00:00 2001 From: Josh Stewart Date: Fri, 16 Jun 2017 14:55:17 +1000 Subject: [PATCH] Hacky hack to get latest cppcheck on Travis --- .travis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8360b871..caf61f6d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,8 +35,14 @@ cache: before_install: - sudo apt-get update -qq -- sudo apt-get install -qq cppcheck +- sudo apt-get build-dep -qq cppcheck - git clone --depth=20 https://github.com/noisymime/cppcheck.git noisymime/cppcheck +- wget https://github.com/danmar/cppcheck/archive/1.79.zip +- unzip 1.79.zip +- cd cppcheck-1.79 +- make +- sudo make install +- cd.. install: - pip install -U platformio