[SCM] kodi-pvr-vdr-vnsi/master: Add .travis.yml file
tiber-guest at users.alioth.debian.org
tiber-guest at users.alioth.debian.org
Sun Feb 28 15:46:52 UTC 2016
The following commit has been merged in the master branch:
commit c15246828d99aa0f229c0ba10d477ff96f77c7bc
Author: h.udo <hudokkow at gmail.com>
Date: Thu Jan 28 14:54:51 2016 +0000
Add .travis.yml file
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..6eb21ca
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,43 @@
+language: cpp
+
+#
+# Define the build matrix
+#
+# Travis defaults to building on Ubuntu Precise when building on
+# Linux. We need Trusty in order to get up to date versions of
+# cmake and g++.
+#
+matrix:
+ include:
+ - os: linux
+ dist: trusty
+ sudo: required
+ compiler: gcc
+ - os: linux
+ dist: trusty
+ sudo: required
+ compiler: clang
+ - os: osx
+ osx_image: xcode7.3
+ - os: osx
+ osx_image: xcode6.1
+
+#
+# Some of the OS X images don't have cmake, contrary to what people
+# on the Internet say
+#
+before_install:
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then which cmake || brew update ; fi
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then which cmake || brew install cmake ; fi
+
+#
+# The addon source is automatically checked out in $TRAVIS_BUILD_DIR,
+# we'll put the Kodi source on the same level
+#
+before_script:
+ - cd $TRAVIS_BUILD_DIR/..
+ - git clone -b Jarvis --depth=1 https://github.com/xbmc/xbmc.git
+ - cd pvr.vdr.vnsi && mkdir build && cd build
+ - cmake -DADDONS_TO_BUILD=pvr.vdr.vnsi -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/project/cmake/addons
+
+script: make
--
kodi-pvr-vdr-vnsi packaging
More information about the pkg-multimedia-commits
mailing list