Improve README (#187)
Be explicit about linuxdeployqt's filename (because [explicit is better than implicit](https://www.python.org/dev/peps/pep-0020/)). Relative paths don't need a `./` prefix. uploadtool now creates `continuous` branches with a suffix, and the `exclude` list should respect that.
This commit is contained in:
@@ -101,11 +101,11 @@ script:
|
|||||||
- make -j$(nproc)
|
- make -j$(nproc)
|
||||||
- make INSTALL_ROOT=appdir -j$(nproc) install ; find appdir/
|
- make INSTALL_ROOT=appdir -j$(nproc) install ; find appdir/
|
||||||
- wget -c -q "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
|
- wget -c -q "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
|
||||||
- chmod a+x linuxdeployqt*.AppImage
|
- chmod a+x linuxdeployqt-continuous-x86_64.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) # linuxdeployqt uses this for naming the file
|
- export VERSION=$(git rev-parse --short HEAD) # linuxdeployqt uses this for naming the file
|
||||||
- ./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -bundle-non-qt-libs
|
- ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -bundle-non-qt-libs
|
||||||
- ./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -appimage
|
- ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -appimage
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- find ./appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
|
- find ./appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
|
||||||
@@ -116,7 +116,7 @@ after_success:
|
|||||||
branches:
|
branches:
|
||||||
except:
|
except:
|
||||||
- # Do not build tags that we create when we upload to GitHub Releases
|
- # Do not build tags that we create when we upload to GitHub Releases
|
||||||
- /^(?i:continuous)$/
|
- /^(?i:continuous)/
|
||||||
```
|
```
|
||||||
|
|
||||||
When you save your change, then Travis CI should build and upload an AppImage for you. More likely than not, some fine-tuning will still be required.
|
When you save your change, then Travis CI should build and upload an AppImage for you. More likely than not, some fine-tuning will still be required.
|
||||||
|
|||||||
Reference in New Issue
Block a user