Skip to content

Commit 16b04d7

Browse files
committed
fixed coverity_scan addon
1 parent e0e14ac commit 16b04d7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,16 @@ env:
4545
global:
4646
- secure: "bWJR/alkUhovaZVn4EySamXsWsvAngLh/krZf3Jha6gYWGaf6HXFwB5gM9EaBIQsZKGECL9AKN0v8rX6tqSnXMKX2FgA9ClYvO0F60JviY6Ur6OT2rG0pm+WZZ1jzyGmf+5gVqiWF1/lM/tokdnj0Nw68OQwlNdc+DqxGXormO8=" # travis encrypt COVERITY_SCAN_TOKEN=...
4747

48+
before_install:
49+
- test "$TRAVIS_BRANCH" != "coverity_scan" -o ${TRAVIS_JOB_NUMBER##*.} = 1 || exit 0 # Skip build if branch is coverity_scan and this is the 1st job of the build matrix
50+
4851
addons:
4952
coverity_scan:
5053
project:
5154
name: "msgpack/msgpack-ruby"
5255
description: "Build submitted via Travis CI"
5356
notification_email: frsyuki@gmail.com
5457
build_command_prepend: "bundle exec rake compile; cd tmp/x86_64-linux*/msgpack/*/; make clean"
55-
build_command: "cd tmp/x86_64-linux*/msgpack/*/; make clean; make"
58+
build_command: "bash -c 'cd tmp/x86_64-linux*/msgpack/*/; make clean; make'"
5659
branch_pattern: coverity_scan
5760

0 commit comments

Comments
 (0)