From 93f4694c11186468beb6ea851ae5e6dd6668dd21 Mon Sep 17 00:00:00 2001 From: Leonardo Zide Date: Sat, 9 Mar 2019 13:58:03 -0800 Subject: [PATCH] Update .travis.yml --- .travis.yml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 23827f1a..20476d97 100644 --- a/.travis.yml +++ b/.travis.yml @@ -50,21 +50,15 @@ script: - qmake PREFIX=/usr -r - make -j4 - if [ "$TRAVIS_OS_NAME" != "linux" ] ; then exit 0 ; fi - - #sudo apt-get -y install checkinstall - - rm ./*.spec # Otherwise the next line fails - - #sudo checkinstall --pkgname=app --pkgversion="1" --pkgrelease="1" --backup=no --fstrans=no --default --deldoc - - make install INSTALL_ROOT=appdir - - mkdir appdir ; cd appdir - - #dpkg -x ../app_1-1_amd64.deb . ; find . - - cp ../qt/leocad.desktop . - - sed -i -e 's|\.svg||g' leocad.desktop # Workaround - - cp ../resources/leocad.png . - - cd .. + - make install INSTALL_ROOT=AppDir + - cp qt/leocad.desktop AppDir + - sed -i -e 's|\.svg||g' AppDir/leocad.desktop # Workaround + - cp resources/leocad.png AppDir - wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/6/linuxdeployqt-6-x86_64.AppImage" - chmod a+x linuxdeployqt*.AppImage - unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH - export VERSION=$(git rev-parse --short HEAD) - - ./linuxdeployqt*.AppImage ./appdir/usr/bin/leocad -bundle-non-qt-libs - - ./linuxdeployqt*.AppImage ./appdir/usr/bin/leocad -appimage + - ./linuxdeployqt*.AppImage ./AppDir/usr/bin/leocad -bundle-non-qt-libs + - ./linuxdeployqt*.AppImage ./AppDir/usr/bin/leocad -appimage - curl --upload-file ./LeoCAD-*.AppImage https://transfer.sh/LeoCAD-git.$VERSION.qt$QT_BASE-x86_64.AppImage - + - echo AppImage uploaded to https://transfer.sh/LeoCAD-git.$VERSION.qt$QT_BASE-x86_64.AppImage