From 232b08b5118451dcabd5b99befaadd7d3f9bc065 Mon Sep 17 00:00:00 2001 From: Marc-Antoine Arnaud Date: Tue, 22 Jul 2014 11:14:59 +0200 Subject: [PATCH 1/3] adding coverity scan --- .travis.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.travis.yml b/.travis.yml index 1a502416..f23dd5d5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,3 +25,17 @@ script: after_failure: - cat config.log +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: "cDIO5Qhn0jjgzhgpcKMZEJf8r0Az9QQi39WL4XdKdeuYdqwXOxvh5+RfQoYUYxSZ2nPrFJqc5zXhUyGLLyqsiEOW7SCtZhBs6n1FYEFgqXiQiOHuOgj3SpIsrF5AaUkeD1tpIn/oO7QPEwfwiQptFZvmrB5tLztlX0N90rdsI6U=" + +addons: + coverity_scan: + project: + name: "avTranscoder/avTranscoder" + description: "[avTranscoder] Build submitted via Travis CI" + notification_email: arnaud.marcantoine@gmail.com + build_command: "scons -j 4" + branch_pattern: coverity_scan From 395a71dad7450bc7e7e058facfc93836280eca04 Mon Sep 17 00:00:00 2001 From: Marc-Antoine Arnaud Date: Tue, 22 Jul 2014 11:21:37 +0200 Subject: [PATCH 2/3] adding deleting of build dir before build --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index f23dd5d5..e122a9a5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,5 +37,6 @@ addons: name: "avTranscoder/avTranscoder" description: "[avTranscoder] Build submitted via Travis CI" notification_email: arnaud.marcantoine@gmail.com + build_command_prepend: "rm -Rf build" build_command: "scons -j 4" branch_pattern: coverity_scan From f956a0c7ff50a71e36015fc2be9cb9a7795bccb2 Mon Sep 17 00:00:00 2001 From: Marc-Antoine Arnaud Date: Tue, 22 Jul 2014 11:30:20 +0200 Subject: [PATCH 3/3] clean remove build dir --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e122a9a5..206cdb96 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,6 +18,7 @@ before_script: - sudo apt-get update -qq - sudo apt-get install -qq gcc g++ scons swig swig2.0 - sudo apt-get install -qq libavdevice-dev libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libavresample-dev python-dev freeglut3-dev doxygen + - rm -Rf build script: - scons @@ -37,6 +38,5 @@ addons: name: "avTranscoder/avTranscoder" description: "[avTranscoder] Build submitted via Travis CI" notification_email: arnaud.marcantoine@gmail.com - build_command_prepend: "rm -Rf build" build_command: "scons -j 4" branch_pattern: coverity_scan