Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 38fe9ae

Browse files
committedApr 12, 2018
Travis: Enforce Coverity Scan on STATIC_CHECKS Linux/gcc build job
Also ensure that we are not using cached build objects (need to build from scratch), and update encrypted Coverity Scan token.
1 parent cf7c53e commit 38fe9ae

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed
 

‎.travis.yml

+12-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ env:
99
- SCONS_CACHE=$HOME/.scons_cache
1010
- SCONS_CACHE_LIMIT=1024
1111
- OPTIONS="verbose=yes progress=no gdnative_wrapper=yes"
12-
- secure: "n/H0YCWDhq3Pl2vOtv8Ai3IltGBHHh9VdL+SENitCBln1N7ygNf17KTEnmBZA+kVCsAVL3M2no8bXDYshlsU5AwxwOC8x3hn+rLmanNkyY3YQiHvCUeduVRbUj+JmirJZGyf/RDifk1mj43ksHlLxDgRnzKEFh5dnXW1neAywU7XKsOOKbvE1+chmCsGeif9/zrn77y+znq0ZTsoy+TDUEXvBSTJsBc6gvyosD7qCf5BHjsv7/g8WkC1hM8C8qwNw9loihDfurQtYLenOffK8duldyqiFiggbRY4RoPGPn6s92Zd30/NNjFsUGMooVj6If3aYHP4oNqToCW4okMIER94Vt4tExlCrkhqClfUM+H/miQYfPNlYH02cGXREwxyKwHBhb5IEjUcLNV9bnW9hQPaTAVkJLRbaTqDjK1wIADgfNPJZ5p8EDnJL9sd6zVCWDEB3Jnf1nxhUkmDOBYRQv/j22m6tgOhZPt00sjwrJbFq8CB5qCgS5KktSN2Tnq9HMkZFFTK7uwYuMm2DMcuwS9B+eQWC0Cdauc2Pf4j4SF0SC6pbKrDyrb3UHM8Zoq+9BFrBiriAhKfZilCmLk38Jc/fkV8DJ/pkz8CUHVbRsSuKjtpvO50kdNIx+2qDcwVWhkRnbQf+gbJ1bvwbT9yfSRGZuTYr86f3XTBfvDFK9c="
12+
- secure: AnjB84ZZYDxDQdWwsT9PJrD5tEnwcauzvVeSG+us2GxgfyJ2HFArkZ/IjlvbsfYIiiHghJ2Ssy9yPtUT921BtNNHoWuN/8YQziGrlwiSfLGmS/n8GFH22OYwzDSa7UC7ODts5La2I4+JzrdtF933TwE+4QzH4E3GyaKbznh402E=
1313

1414
cache:
1515
directories:
@@ -19,7 +19,7 @@ matrix:
1919
include:
2020
- env: STATIC_CHECKS=yes
2121
os: linux
22-
compiler: clang
22+
compiler: gcc
2323
- env: GODOT_TARGET=x11 TOOLS=yes CACHE_NAME=${GODOT_TARGET}-gcc-tools"
2424
os: linux
2525
compiler: gcc
@@ -81,6 +81,16 @@ addons:
8181
build_command: "scons p=x11 -j2 $OPTIONS"
8282
branch_pattern: coverity_scan
8383

84+
before_install:
85+
- if [ "$STATIC_CHECKS" = "yes" ]; then
86+
unset SCONS_CACHE;
87+
else
88+
if [ "$TRAVIS_BRANCH" = "coverity_scan" ]; then
89+
echo "This job runs in the Coverity Scan branch and is not the STATIC_CHECKS job meant for it, so aborting with exit code 0.";
90+
travis_terminate 0;
91+
fi;
92+
fi
93+
8494
install:
8595
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$GODOT_TARGET" = "android" ]; then
8696
misc/travis/android-tools-linux.sh;

0 commit comments

Comments
 (0)
Please sign in to comment.