From fbd734ed28b1edc8c30a49191866f3eb585472bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20G=C3=A1l?= Date: Mon, 18 Mar 2019 09:32:40 +0100 Subject: [PATCH] Split the Travis checks into two test calls (#2797) The cppcheck can run for quite a long time, sometimes even more than 10 minutes. This change splits the test execution into two part: * First, do all checks excluding the cppcheck call with the default timeout. * Second, do the cppcheck call with a 30 minutes maximum timeout. JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 908c31ba6..288a5af20 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,9 +12,10 @@ script: tools/run-tests.py $OPTS matrix: include: - name: "Checks" - env: - - OPTS="--check-signed-off=travis --check-cppcheck --check-doxygen --check-vera --check-license --check-magic-strings --check-pylint" install: pip install --user pylint==1.6.5 + script: + - tools/run-tests.py --check-signed-off=travis --check-doxygen --check-vera --check-license --check-magic-strings --check-pylint + - travis_wait 30 tools/run-tests.py --check-cppcheck addons: apt: packages: [doxygen, cppcheck, vera++]