diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ae396041..c58e6f7a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,14 +11,14 @@ jobs: matrix: include: - name: "Debian package test" - os: ubuntu-18.04 + os: ubuntu-latest CC: gcc CXX: g++ DEBIAN_BUILD: true - #- os: ubuntu-18.04 + #- os: ubuntu-latest #CC: gcc #CXX: g++ - #- os: ubuntu-18.04 + #- os: ubuntu-latest #CC: clang #CXX: clang++ #- os: macos-10.15 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 3e678c76..00000000 --- a/.travis.yml +++ /dev/null @@ -1,59 +0,0 @@ -language: cpp - -# -# Define the build matrix -# -# Travis defaults to building on Ubuntu Trusty when building on -# Linux. We need Xenial in order to get up to date versions of -# cmake and g++. -# -env: - global: - - app_id=pvr.dvbviewer - -matrix: - include: - - os: linux - dist: bionic - sudo: required - compiler: gcc - - os: linux - dist: bionic - sudo: required - compiler: clang - - os: linux - dist: bionic - sudo: required - compiler: gcc - env: DEBIAN_BUILD=true - - os: linux - dist: focal - sudo: required - compiler: gcc - env: DEBIAN_BUILD=true - - os: osx - osx_image: xcode10.2 - -before_install: - - if [[ $DEBIAN_BUILD == true ]]; then sudo add-apt-repository -y ppa:team-xbmc/xbmc-nightly; fi - - if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get update; fi - - if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get install fakeroot; fi - -# -# The addon source is automatically checked out in $TRAVIS_BUILD_DIR, -# we'll put the Kodi source on the same level -# -before_script: - - if [[ $DEBIAN_BUILD != true ]]; then cd $TRAVIS_BUILD_DIR/..; fi - - if [[ $DEBIAN_BUILD != true ]]; then git clone --branch master --depth=1 https://github.com/xbmc/xbmc.git; fi - - if [[ $DEBIAN_BUILD != true ]]; then cd ${app_id} && mkdir build && cd build; fi - - if [[ $DEBIAN_BUILD != true ]]; then mkdir -p definition/${app_id}; fi - - if [[ $DEBIAN_BUILD != true ]]; then echo ${app_id} $TRAVIS_BUILD_DIR $TRAVIS_COMMIT > definition/${app_id}/${app_id}.txt; fi - - if [[ $DEBIAN_BUILD != true ]]; then 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; fi - - if [[ $DEBIAN_BUILD == true ]]; then wget https://raw.githubusercontent.com/xbmc/xbmc/master/xbmc/addons/kodi-dev-kit/tools/debian-addon-package-test.sh && chmod +x ./debian-addon-package-test.sh; fi - - if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get build-dep $TRAVIS_BUILD_DIR; fi - -script: - - if [[ $DEBIAN_BUILD != true ]]; then make; fi - - if [[ $DEBIAN_BUILD == true ]]; then ./debian-addon-package-test.sh $TRAVIS_BUILD_DIR; fi - diff --git a/README.md b/README.md index 182b3675..dad6896c 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ [![Build and run tests](https://github.com/kodi-pvr/pvr.dvbviewer/actions/workflows/build.yml/badge.svg?branch=Nexus)](https://github.com/kodi-pvr/pvr.dvbviewer/actions/workflows/build.yml) [![Build Status](https://ci.appveyor.com/api/projects/status/github/manuelm/pvr.dvbviewer?svg=true)](https://ci.appveyor.com/project/manuelm/pvr.dvbviewer) [![Build Status](https://jenkins.kodi.tv/view/Addons/job/kodi-pvr/job/pvr.dvbviewer/job/Nexus/badge/icon)](https://jenkins.kodi.tv/blue/organizations/jenkins/kodi-pvr%2Fpvr.dvbviewer/branches/) -[![Coverity Scan Build Status](https://scan.coverity.com/projects/5120/badge.svg)](https://scan.coverity.com/projects/5120) # DVBViewer PVR DVBViewer PVR client addon for [Kodi](https://kodi.tv) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 728c7bd4..1f9cfde8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -46,7 +46,7 @@ jobs: - script: | cd .. - git clone --branch master --depth=1 https://github.com/xbmc/xbmc.git kodi + git clone --branch Nexus --depth=1 https://github.com/xbmc/xbmc.git kodi cd $(Build.SourcesDirectory) mkdir build cd build