Browse Source

For CI - prevent coverity scan for CI build on feature branches.
[ci only: Web]

Yao Wei Tjong 姚伟忠 8 years ago
parent
commit
9623f94230
2 changed files with 1 additions and 5 deletions
  1. 1 1
      .travis.yml
  2. 0 4
      Rakefile

+ 1 - 1
.travis.yml

@@ -192,7 +192,7 @@ deploy: off
 
 ---
 
-branch: {name: Coverity-Scan, active: yes, mandatory: yes}
+branch: {name: Coverity-Scan, active: no, mandatory: yes}
 language: cpp
 compiler: gcc
 cache: ccache

+ 0 - 4
Rakefile

@@ -559,10 +559,6 @@ task :ci_create_mirrors do
     skip_travis = /\[skip travis\]/ =~ ENV['COMMIT_MESSAGE']   # For feature parity with AppVeyor's [skip appveyor]
     matched = /\[ci only:(.*?)\]/.match(ENV['COMMIT_MESSAGE'])
     ci_only = matched ? matched[1].split(/[ ,]/).reject!(&:empty?) : nil
-    if ci_only
-      ci_only.push('Coverity-Scan') if scan
-      ci_only.push('Annotate') if annotate
-    end
   else
     ci_only = nil
   end