From f0c80060763475aa34a18ecbef600b6811855cb6 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 12 Jun 2015 17:37:41 -0700 Subject: [PATCH] [TravisCI] Hook up Coverity First try... --- .travis.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.travis.yml b/.travis.yml index 894b6138c..3f7378b2a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,9 @@ env: - CFLAGS="-Werror --coverage" - CXXFLAGS="-Werror --coverage" - LDFLAGS="--coverage" + # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created + # via the "travis encrypt" command using the project repo's public key + - secure: "RoR4NtzEDTR8QKmLVuy2wN+YGXuq8VcgVvDuFJDdOdIbtX+kQStesJXDcf1y0G1T8Ripjn9JGXBd9eoUwNc8sJpxNwKZBkIPi42FuK6e/cZZRYlgUyi5df0fQJ8VSCDU7OoZJq3pAtTe8mQPeeuk5G7cKRSsJVt8e03K7PQcU6Y=" install: - sudo apt-get install pkg-config ragel gtk-doc-tools # for autogen.sh - sudo apt-get install libfreetype6-dev # for font functions @@ -24,3 +27,13 @@ script: notifications: irc: "irc.freenode.org#harfbuzz" email: harfbuzz@lists.freedesktop.org + +addons: + coverity_scan: + project: + name: "behdad/harfbuzz" + description: "Build submitted via Travis CI" + notification_email: coverity@behdad.org + build_command_prepend: "./configure; make clean" + build_command: "make -j 4" + branch_pattern: master