diff options
author | raveit65 <[email protected]> | 2020-04-10 14:57:25 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-04-10 14:57:25 +0200 |
commit | b74d05995bc516d3b07d7724267897222d3a559b (patch) | |
tree | 6a898f985d70de3743c18280e633bf984c768a50 | |
parent | df4347d7e48e22b5b802d2e779af576346c792ea (diff) | |
download | mate-panel-b74d05995bc516d3b07d7724267897222d3a559b.tar.bz2 mate-panel-b74d05995bc516d3b07d7724267897222d3a559b.tar.xz |
Travis CI: build with mate-common-1.24.1 tarball
-rw-r--r-- | .build.yml | 35 |
1 files changed, 15 insertions, 20 deletions
@@ -134,28 +134,11 @@ variables: -enable-checker alpha.core.FixedAddr -enable-checker security.insecureAPI.strcpy"' -build_scripts: -# build failed with f30 und using clang patch, fixed in f30? -# - if [ ${DISTRO_NAME} == "fedora" ];then -# - curl -Ls -o fedora.sh https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/fedora.sh -# - bash ./fedora.sh -# - fi - - ./autogen.sh --enable-compile-warnings=maximum - - scan-build $CHECKERS ./configure --enable-compile-warnings=maximum - - if [ $CPU_COUNT -gt 1 ]; then - - scan-build $CHECKERS --keep-cc -o html-report make -j $CPU_COUNT - - else - - scan-build $CHECKERS --keep-cc -o html-report make - - fi - - if [ ${DISTRO_NAME} == "debian" ];then - - cppcheck --enable=warning,style,performance,portability,information,missingInclude -i'mate-menus-build' -i'gtk-layer-shell-build' . - - fi - before_scripts: - cd ${START_DIR} - - '[ -f mate-common-1.23.3.tar.xz ] || curl -Ls -o mate-common-1.23.3.tar.xz http://pub.mate-desktop.org/releases/1.23/mate-common-1.23.3.tar.xz' - - tar xf mate-common-1.23.3.tar.xz - - cd mate-common-1.23.3 + - '[ -f mate-common-1.24.1.tar.xz ] || curl -Ls -o mate-common-1.24.1.tar.xz https://github.com/mate-desktop/mate-common/releases/download/v1.24.1/mate-common-1.24.1.tar.xz' + - tar xf mate-common-1.24.1.tar.xz + - cd mate-common-1.24.1 - if [ ${DISTRO_NAME} == "debian" -o ${DISTRO_NAME} == "ubuntu" ];then - ./configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/x86_64-linux-gnu - else @@ -173,6 +156,18 @@ before_scripts: - ninja -C _build - ninja -C _build install +build_scripts: + - ./autogen.sh --enable-compile-warnings=maximum + - scan-build $CHECKERS ./configure --enable-compile-warnings=maximum + - if [ $CPU_COUNT -gt 1 ]; then + - scan-build $CHECKERS --keep-cc -o html-report make -j $CPU_COUNT + - else + - scan-build $CHECKERS --keep-cc -o html-report make + - fi + - if [ ${DISTRO_NAME} == "debian" ];then + - cppcheck --enable=warning,style,performance,portability,information,missingInclude -i'mate-menus-build' -i'gtk-layer-shell-build' . + - fi + after_scripts: - if [ ${DISTRO_NAME} == "fedora" ];then - cppcheck --xml --output-file=cppcheck.xml --enable=warning,style,performance,portability,information,missingInclude -i'mate-menus-build' -i'gtk-layer-shell-build' . |