summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorDavid Wagner <david.wagner@intel.com>2015-02-13 17:15:51 +0100
committerDavid Wagner <david.wagner@intel.com>2015-02-13 17:24:58 +0100
commitd98ecab43491cd8c7a0ca9d6b92a12501e101d2f (patch)
tree24d44f5abfae632aafb684ef139f6e1a8a2ddb74 /.travis.yml
parentf39078a6c340431a749ded1f69deb6c646de531c (diff)
downloadexternal_parameter-framework-d98ecab43491cd8c7a0ca9d6b92a12501e101d2f.zip
external_parameter-framework-d98ecab43491cd8c7a0ca9d6b92a12501e101d2f.tar.gz
external_parameter-framework-d98ecab43491cd8c7a0ca9d6b92a12501e101d2f.tar.bz2
Add a configuration file for Travis-CI
Travis will build each new commit and each pull request and publish the results here: https://travis-ci.org/01org/parameter-framework and on the #parameter-framework channel on FreeNode. This commit also adds a build status icon in the Readme. Signed-off-by: David Wagner <david.wagner@intel.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..12f177a
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,34 @@
+language: cpp
+compiler:
+ - gcc
+# - clang # not supported yet
+
+# install SWIG for bindings generation
+before_install:
+ - sudo apt-get update -qq
+ - sudo apt-get install -y swig
+
+# how to build
+script: cmake . && make -j && sudo make install && make test
+
+notifications:
+ email:
+ - david.wagner@intel.com
+ irc:
+ - "chat.freenode.net#parameter-framework"
+
+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: "Y+iKBg65e4dleuMwxAo1XSl/QkF4AtCe35ltu2DhPbeMJCywBmu0aeDb04oEaZJL+BxP+KMoRqRjeoGI3W/sh0gAq03iQ+P4C8KwRb9fdYPPVwH3NP3fyN27gFBH9GS8uMth68o2KP/oO/aqNwii/KbMZtubp7MhY/wnvz4DLCQ="
+
+addons:
+ coverity_scan:
+ project:
+ name: "dawagner/parameter-framework"
+ description: "Plugin-based and rule-based framework for managing parameters"
+ notification_email: david.wagner@intel.com
+ build_command_prepend: "cmake ."
+ build_command: "make -j 12"
+ branch_pattern: coverity_scan