mirror of
https://github.com/DigitalDevices/pvr.octonet.git
synced 2023-10-10 13:36:57 +02:00
update .travis.yml
This commit is contained in:
parent
cfe1f157a1
commit
1431f694e1
28
.travis.yml
28
.travis.yml
@ -7,28 +7,24 @@ language: cpp
|
|||||||
# Linux. We need Trusty in order to get up to date versions of
|
# Linux. We need Trusty in order to get up to date versions of
|
||||||
# cmake and g++.
|
# cmake and g++.
|
||||||
#
|
#
|
||||||
|
env:
|
||||||
|
global:
|
||||||
|
- app_id=pvr.octonet
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: linux
|
- os: linux
|
||||||
dist: trusty
|
dist: xenial
|
||||||
sudo: required
|
sudo: required
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
- os: linux
|
- os: linux
|
||||||
dist: trusty
|
dist: xenial
|
||||||
sudo: required
|
sudo: required
|
||||||
compiler: clang
|
compiler: clang
|
||||||
- os: osx
|
- os: osx
|
||||||
osx_image: xcode7.3
|
osx_image: xcode9
|
||||||
- os: osx
|
- os: osx
|
||||||
osx_image: xcode6.1
|
osx_image: xcode9.4
|
||||||
|
|
||||||
#
|
|
||||||
# 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,
|
# The addon source is automatically checked out in $TRAVIS_BUILD_DIR,
|
||||||
@ -37,9 +33,9 @@ before_install:
|
|||||||
before_script:
|
before_script:
|
||||||
- cd $TRAVIS_BUILD_DIR/..
|
- cd $TRAVIS_BUILD_DIR/..
|
||||||
- git clone --branch Leia --depth=1 https://github.com/xbmc/xbmc.git
|
- git clone --branch Leia --depth=1 https://github.com/xbmc/xbmc.git
|
||||||
- mkdir -p xbmc/cmake/addons/addons/pvr.octonet
|
- cd ${app_id} && mkdir build && cd build
|
||||||
- echo "pvr.octonet https://github.com/DigitalDevices/pvr.octonet master" > xbmc/cmake/addons/addons/pvr.octonet/pvr.octonet.txt
|
- mkdir -p definition/${app_id}
|
||||||
- cd $TRAVIS_BUILD_DIR && mkdir build && cd build
|
- echo ${app_id} $TRAVIS_BUILD_DIR $TRAVIS_COMMIT > definition/${app_id}/${app_id}.txt
|
||||||
- cmake -DADDONS_TO_BUILD=pvr.octonet -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
|
- 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
|
script: make
|
||||||
|
Loading…
x
Reference in New Issue
Block a user