File tree Expand file tree Collapse file tree 2 files changed +40
-8
lines changed
Expand file tree Collapse file tree 2 files changed +40
-8
lines changed Original file line number Diff line number Diff line change 11language : ruby
22
33rvm :
4- - 2.0.0
5- - 2.1.6
6- - 2.2.2
7- - 2.3.0
4+ # - 2.0.0
5+ # - 2.1.6
6+ # - 2.2.2
7+ # - 2.3.0
88 - 2.4.0
9- - ruby-head
10- - jruby-19mode
11- - jruby-9.1.5.0
12- - jruby-head
9+ # - ruby-head
10+ # - jruby-19mode
11+ # - jruby-9.1.5.0
12+ # - jruby-head
1313
1414os :
1515 - linux
@@ -20,6 +20,7 @@ sudo: false
2020branches :
2121 only :
2222 - master
23+ - coverity_scan
2324
2425gemfile :
2526 - Gemfile
@@ -39,3 +40,11 @@ matrix:
3940 - rvm : jruby-head
4041 - rvm : jruby-19mode
4142 os : osx
43+
44+ env :
45+ global :
46+ - secure : " bWJR/alkUhovaZVn4EySamXsWsvAngLh/krZf3Jha6gYWGaf6HXFwB5gM9EaBIQsZKGECL9AKN0v8rX6tqSnXMKX2FgA9ClYvO0F60JviY6Ur6OT2rG0pm+WZZ1jzyGmf+5gVqiWF1/lM/tokdnj0Nw68OQwlNdc+DqxGXormO8=" # travis encrypt COVERITY_SCAN_TOKEN=...
47+
48+ after_success :
49+ - ci/travis_submit_coverity_scan.sh
50+
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -ex
4+
5+ # Skip if branch is not coverity_scan
6+ [ " $TRAVIS_BRANCH " != " coverity_scan" ] && exit 0
7+
8+ bundle exec rake clean
9+ rm -rf cov-int
10+ cov-build --dir cov-int bundle exec rake compile
11+ tar czvf msgpack-ruby-coverity.tar.gz cov-int
12+
13+ set +x # not to leak COVERITY_SCAN_TOKEN to stdout
14+
15+ echo " Posting to https://scan.coverity.com/builds?project=msgpack%2Fmsgpack-ruby"
16+
17+ curl --form token=" $COVERITY_SCAN_TOKEN " \
18+ --form email=frsyuki@gmail.com \
19+ --form file=@msgpack-ruby-coverity.tar.gz \
20+ --form version=" $( git show --pretty=format:' %H-%ad' --date ' format:%Y%m%dT%H%M%S' $TRAVIS_COMMIT | head -n 1) " \
21+ --form description=" msgpack-ruby coverity scan" \
22+ " https://scan.coverity.com/builds?project=msgpack%2Fmsgpack-ruby"
23+
You can’t perform that action at this time.
0 commit comments