diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 18e5cf6..39f206d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -181,12 +181,25 @@ 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: - if [ ${DISTRO_NAME} == "debian" -o ${DISTRO_NAME} == "ubuntu" ];then - - ./autogen.sh --without-keyring + - ./autogen.sh --without-keyring --enable-compile-warnings=maximum - scan-build $CHECKERS ./configure --without-keyring - else - - ./autogen.sh + - ./autogen.sh --enable-compile-warnings=maximum - scan-build $CHECKERS ./configure - fi - if [ $CPU_COUNT -gt 1 ]; then |