Travis CI: don't build mate-menus from tarball
This commit is contained in:
parent
521d6205d3
commit
0470814242
22
.travis.yml
22
.travis.yml
|
@ -148,6 +148,7 @@ requires:
|
|||
- librsvg2-tools
|
||||
- make
|
||||
- marco-devel
|
||||
- mate-menus-devel
|
||||
- polkit-devel
|
||||
- python3-lxml
|
||||
- mate-common
|
||||
|
@ -234,23 +235,6 @@ before_scripts:
|
|||
- make
|
||||
- make install
|
||||
|
||||
- cd ${START_DIR}
|
||||
- if [ ! -f mate-menus-1.22.0.tar.xz ];then
|
||||
- curl -Ls -o mate-menus-1.22.0.tar.xz https://github.com/mate-desktop/mate-menus/releases/download/v1.22.0/mate-menus-1.22.0.tar.xz
|
||||
- fi
|
||||
- tar xf mate-menus-1.22.0.tar.xz
|
||||
- cd mate-menus-1.22.0
|
||||
- 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
|
||||
|
||||
- cd ${START_DIR}
|
||||
- if [ ! -f mate-settings-daemon-1.23.1.tar.xz ]; then
|
||||
- curl -Ls -o mate-settings-daemon-1.23.1.tar.xz https://github.com/mate-desktop/mate-settings-daemon/releases/download/v1.23.1/mate-settings-daemon-1.23.1.tar.xz
|
||||
|
@ -275,12 +259,12 @@ build_scripts:
|
|||
- scan-build $CHECKERS ./configure
|
||||
- scan-build $CHECKERS --keep-cc -o html-report make -j $(( $CPU_COUNT + 1 ))
|
||||
- if [ ${DISTRO_NAME} == "debian" ];then
|
||||
- cppcheck --enable=warning,style,performance,portability,information,missingInclude -i'mate-desktop-1.23.2' -i'mate-menus-1.22.0' -i'mate-settings-daemon-1.23.1' .
|
||||
- cppcheck --enable=warning,style,performance,portability,information,missingInclude -i'mate-desktop-1.23.2' -i'mate-settings-daemon-1.23.1' .
|
||||
- fi
|
||||
|
||||
after_scripts:
|
||||
- if [ ${DISTRO_NAME} == "fedora" ];then
|
||||
- cppcheck --xml --output-file=cppcheck.xml --enable=warning,style,performance,portability,information,missingInclude -i'mate-desktop-1.23.2' -i'mate-menus-1.22.0' -i'mate-settings-daemon-1.23.1' .
|
||||
- cppcheck --xml --output-file=cppcheck.xml --enable=warning,style,performance,portability,information,missingInclude -i'mate-desktop-1.23.2' -i'mate-settings-daemon-1.23.1' .
|
||||
- cppcheck-htmlreport --title=${REPO_NAME} --file=cppcheck.xml --report-dir=cppcheck-htmlreport
|
||||
- ./gen-index -l 20 -i https://github.com/${OWNER_NAME}/mate-icon-theme/raw/master/mate/16x16/categories/preferences-desktop.png
|
||||
- fi
|
||||
|
|
Loading…
Reference in New Issue