diff options
-rw-r--r-- | .build.yml | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -34,6 +34,7 @@ requires: fedora: # Useful URL: https://src.fedoraproject.org/cgit/rpms/libmatekbd.git + - autoconf-archive - clang-analyzer - clang - cppcheck-htmlreport @@ -88,13 +89,19 @@ before_scripts: - curl -Ls -o debian.sh https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/debian.sh - bash ./debian.sh - fi + - cd ${START_DIR} + - '[ -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 + - ./configure --prefix=/usr + - fi + - make + - make install 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 - scan-build $CHECKERS ./configure - if [ $CPU_COUNT -gt 1 ]; then |