mirror of
https://github.com/leozide/leocad
synced 2025-01-17 18:11:42 +01:00
Update .travis.yml
This commit is contained in:
parent
d79c3e898b
commit
93f4694c11
1 changed files with 7 additions and 13 deletions
20
.travis.yml
20
.travis.yml
|
@ -50,21 +50,15 @@ script:
|
||||||
- qmake PREFIX=/usr -r
|
- qmake PREFIX=/usr -r
|
||||||
- make -j4
|
- make -j4
|
||||||
- if [ "$TRAVIS_OS_NAME" != "linux" ] ; then exit 0 ; fi
|
- if [ "$TRAVIS_OS_NAME" != "linux" ] ; then exit 0 ; fi
|
||||||
- #sudo apt-get -y install checkinstall
|
- make install INSTALL_ROOT=AppDir
|
||||||
- rm ./*.spec # Otherwise the next line fails
|
- cp qt/leocad.desktop AppDir
|
||||||
- #sudo checkinstall --pkgname=app --pkgversion="1" --pkgrelease="1" --backup=no --fstrans=no --default --deldoc
|
- sed -i -e 's|\.svg||g' AppDir/leocad.desktop # Workaround
|
||||||
- make install INSTALL_ROOT=appdir
|
- cp resources/leocad.png 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 ..
|
|
||||||
- wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/6/linuxdeployqt-6-x86_64.AppImage"
|
- wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/6/linuxdeployqt-6-x86_64.AppImage"
|
||||||
- chmod a+x linuxdeployqt*.AppImage
|
- chmod a+x linuxdeployqt*.AppImage
|
||||||
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
|
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
|
||||||
- export VERSION=$(git rev-parse --short HEAD)
|
- export VERSION=$(git rev-parse --short HEAD)
|
||||||
- ./linuxdeployqt*.AppImage ./appdir/usr/bin/leocad -bundle-non-qt-libs
|
- ./linuxdeployqt*.AppImage ./AppDir/usr/bin/leocad -bundle-non-qt-libs
|
||||||
- ./linuxdeployqt*.AppImage ./appdir/usr/bin/leocad -appimage
|
- ./linuxdeployqt*.AppImage ./AppDir/usr/bin/leocad -appimage
|
||||||
- curl --upload-file ./LeoCAD-*.AppImage https://transfer.sh/LeoCAD-git.$VERSION.qt$QT_BASE-x86_64.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
|
||||||
|
|
Loading…
Reference in a new issue