Skip to content

Commit fbd734e

Browse files
galpeterrerobika
authored andcommitted
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
1 parent f3c8eee commit fbd734e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ script: tools/run-tests.py $OPTS
1212
matrix:
1313
include:
1414
- name: "Checks"
15-
env:
16-
- OPTS="--check-signed-off=travis --check-cppcheck --check-doxygen --check-vera --check-license --check-magic-strings --check-pylint"
1715
install: pip install --user pylint==1.6.5
16+
script:
17+
- tools/run-tests.py --check-signed-off=travis --check-doxygen --check-vera --check-license --check-magic-strings --check-pylint
18+
- travis_wait 30 tools/run-tests.py --check-cppcheck
1819
addons:
1920
apt:
2021
packages: [doxygen, cppcheck, vera++]

0 commit comments

Comments
 (0)