You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .travis.yml
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,12 @@
1
1
language: cpp
2
2
3
-
#
4
-
# Define the build matrix
5
-
#
6
-
# Travis defaults to building on Ubuntu Trusty when building on
7
-
# Linux. We need Xenial in order to get up to date versions of
8
-
# cmake and g++.
9
-
#
10
3
env:
11
4
global:
12
5
- app_id=audiodecoder.dumb
13
6
7
+
#
8
+
# Define the build matrix
9
+
#
14
10
matrix:
15
11
include:
16
12
- os: linux
@@ -26,12 +22,16 @@ matrix:
26
22
sudo: required
27
23
compiler: gcc
28
24
env: DEBIAN_BUILD=true
25
+
- os: linux
26
+
dist: focal
27
+
sudo: required
28
+
compiler: gcc
29
+
env: DEBIAN_BUILD=true
29
30
- os: osx
30
31
osx_image: xcode10.2
31
32
32
33
before_install:
33
34
- if [[ $DEBIAN_BUILD == true ]]; then sudo add-apt-repository -y ppa:team-xbmc/xbmc-nightly; fi
34
-
- if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get update; fi
35
35
- if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get install fakeroot; fi
36
36
37
37
#
@@ -45,9 +45,9 @@ before_script:
45
45
- if [[ $DEBIAN_BUILD != true ]]; then mkdir -p definition/${app_id}; fi
46
46
- if [[ $DEBIAN_BUILD != true ]]; then echo ${app_id} $TRAVIS_BUILD_DIR $TRAVIS_COMMIT > definition/${app_id}/${app_id}.txt; fi
47
47
- 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
48
-
- if [[ $DEBIAN_BUILD == true ]]; then wget https://raw.githubusercontent.com/xbmc/xbmc/master/xbmc/addons/kodi-addon-dev-kit/tools/debian-addon-package-test.sh && chmod +x ./debian-addon-package-test.sh; fi
48
+
- 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
49
49
- if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get build-dep $TRAVIS_BUILD_DIR; fi
50
50
51
-
script:
51
+
script:
52
52
- if [[ $DEBIAN_BUILD != true ]]; then make; fi
53
53
- if [[ $DEBIAN_BUILD == true ]]; then ./debian-addon-package-test.sh $TRAVIS_BUILD_DIR; fi
0 commit comments