diff options
-rw-r--r-- | .travis.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index af390413..d216fe3d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -220,6 +220,22 @@ before_scripts: - make - make install + - cd ${START_DIR} + - if [ ! -d gtk-layer-shell-build ]; then + - git clone --depth 1 https://github.com/wmww/gtk-layer-shell.git gtk-layer-shell-build + - fi + - cd gtk-layer-shell-build + - if [ ${DISTRO_NAME} == "debian" -o ${DISTRO_NAME} == "ubuntu" ];then + - ./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/x86_64-linux-gnu + - else + - ./autogen.sh --prefix=/usr + - fi + - if [ ${TRAVIS} == "false" ]; then + - make clean + - fi + - make + - make install + after_scripts: - if [ ${DISTRO_NAME} == "fedora" ];then - cppcheck --xml --output-file=cppcheck.xml --enable=warning,style,performance,portability,information,missingInclude -i'mate-menus-build' . |