Skip to content
Permalink
Browse files

[ci][travis] add ADDONS_DEFINITION_DIR

  • Loading branch information...
Rechi committed Oct 26, 2018
1 parent e3f9781 commit 95b24d7a58cc3915a0ec0ce1353e57364ea946c1
Showing with 8 additions and 2 deletions.
  1. +8 −2 .travis.yml
@@ -7,6 +7,10 @@ language: cpp
# Linux. We need Trusty in order to get up to date versions of
# cmake and g++.
#
env:
global:
- app_id=pvr.argustv

matrix:
include:
- os: linux
@@ -29,7 +33,9 @@ matrix:
before_script:
- cd $TRAVIS_BUILD_DIR/..
- git clone --depth=1 https://github.com/xbmc/xbmc.git
- cd pvr.argustv && mkdir build && cd build
- cmake -DADDONS_TO_BUILD=pvr.argustv -DADDON_SRC_PREFIX=$TRAVIS_BUILD_DIR/.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$TRAVIS_BUILD_DIR/../xbmc/addons -DPACKAGE_ZIP=1 $TRAVIS_BUILD_DIR/../xbmc/cmake/addons
- cd ${app_id} && mkdir build && cd build
- mkdir -p definition/${app_id}
- echo ${app_id} $TRAVIS_BUILD_DIR $TRAVIS_COMMIT > definition/${app_id}/${app_id}.txt
- cmake -DADDONS_TO_BUILD=${app_id} -DADDON_SRC_PREFIX=$TRAVIS_BUILD_DIR/.. -DADDONS_DEFINITION_DIR=$TRAVIS_BUILD_DIR/build/definition -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$TRAVIS_BUILD_DIR/../xbmc/addons -DPACKAGE_ZIP=1 $TRAVIS_BUILD_DIR/../xbmc/cmake/addons

script: make

0 comments on commit 95b24d7

Please sign in to comment.
You can’t perform that action at this time.