add Coverity Scan to Travis CI

This commit is contained in:
David du Colombier 2017-07-28 12:43:37 +02:00
parent 5c2bbfe598
commit 8151723a15
1 changed files with 23 additions and 1 deletions

View File

@ -1,2 +1,24 @@
language: c
script: make
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "iB2N25MLDdYPhps5dyVoxm+SMHYek/6MxGKCEw2A8NTFSIfuWPcBliwOKCrVHDMuTb9kgFucrbcK8DAFTADikm81xHfZSALhrwtwIYti8F29wAniG4UHqfQyR7WWX9dm4UhVjsta/BIP8pgMms+1GWjiZPQhARE0n+tFHpCuPzFAi78hMkT40pbq0DObQQELrLN80vhu5IzOS5ZW8yaFy6P7jdmCUBT2DHM6W+b2NU3/ag0L2p21RFa5PewPNgXmXpyPbnSutf0M9QzNZqEElzRBwglOAS7RLT29D0lxRA+RuH1r98ANh4/lqrJLdllrMLtjyoZ+ycPXGAOq0/sF7OeeygMBr3jQz7BphYyFvzl8fcf5SacPCv+dQFCmbOloHPyVJMoscH/PjS89PeJsMFNEK4GbJtVjYOyqFtbzGansUOJGB73GWc6YH0Zptebt/CMZSQ5zmb/iJrUZyMvuYbmjB9UCCyPLi36mBJoIM5CF4gVH8bnhAyTU0EfFIvh/9EFn4s/hRHLuY7GCLWroPQOQE0LX+idyY2r2TeSw/PRM5S5kUX1HFqW7RN/oui9g6UuUscslkSz+d5P1TGAif/egxtMy9YGwfFJlZyHlkp40aEV2xkUTz5PvNWAZkGDq5Sv9hLXOJgkGcqNyBFI7uDiIZgr11J9RMZSanrMaZaI="
before_install:
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
addons:
coverity_scan:
project:
name: "0intro/libelf"
description: "Build submitted via Travis CI"
notification_email: 0intro@gmail.com
build_command_prepend: "make nuke"
build_command: "make"
branch_pattern: master
script:
- make nuke
- make