diff options
-rw-r--r-- | .travis.yml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index b2faf62c..2ffae408 100644 --- a/.travis.yml +++ b/.travis.yml @@ -192,8 +192,21 @@ variables: -enable-checker alpha.core.FixedAddr -enable-checker security.insecureAPI.strcpy"' +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 + - 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: - - ./autogen.sh + - ./autogen.sh --enable-compile-warnings=maximum - scan-build $CHECKERS ./configure - if [ $CPU_COUNT -gt 1 ]; then - scan-build $CHECKERS --keep-cc -o html-report make -j $CPU_COUNT |