2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-18 10:25:12 +00:00
qpdf/.travis.yml

22 lines
789 B
YAML
Raw Normal View History

language: cpp
compiler: gcc
sudo: require
dist: trusty
Enhancements to AppImage Enhance 'build-appimage' script: - add initial comment block and comments for all major steps in the script for the benefit of casual users of the script - 'configure' to build HTML + PDF documentation - do not remove the man pages from the AppDir (will be used by custom AppRun script) - use a bigger icon - use '-g' for appimagetool so it can figure out the 'updateinfo' string on Travis CI - output big fat warning to users who build AppImage in non-"Trusty" environments Add 'AppStream' metadata file This serves to satisfy desktop environments who want to automatically create menu entries, show screenshots and display software descriptions. Note, this file (qpdf.appdata.xml) may need more tweaking since the Freedesktop folks aren't exactly sure themselves how their 'standard' should exactly look like, and they changed their validation tools quite a bit over the recent years in incompatible ways... Extended and enhanced customized AppRun script - Add a '--ai-usage' invokation param to the AppImage which serves as a starting point to explore the other embedded options - Support displaying of manual pages by running AppImage with added parameter '--man ...' - Also include HTML/PDF documentation, READMEs and licenses into AppImage - Support for more parameters: '--list-man', '--list-pdf', '--list-readme', '--list-license', '--list-html', '--list-exe', '--pdf', '--readme', '--license', '--html' and '--show-apprun' - Support 'fix-pdf' and 'zlib-' as sub-commands (not just as symlinks)
2018-02-24 23:38:44 +00:00
install:
- sudo apt-get update -qq
2018-02-25 13:50:58 +00:00
- sudo apt-get install -qq docbook-xsl fop xsltproc less inkscape
Enhancements to AppImage Enhance 'build-appimage' script: - add initial comment block and comments for all major steps in the script for the benefit of casual users of the script - 'configure' to build HTML + PDF documentation - do not remove the man pages from the AppDir (will be used by custom AppRun script) - use a bigger icon - use '-g' for appimagetool so it can figure out the 'updateinfo' string on Travis CI - output big fat warning to users who build AppImage in non-"Trusty" environments Add 'AppStream' metadata file This serves to satisfy desktop environments who want to automatically create menu entries, show screenshots and display software descriptions. Note, this file (qpdf.appdata.xml) may need more tweaking since the Freedesktop folks aren't exactly sure themselves how their 'standard' should exactly look like, and they changed their validation tools quite a bit over the recent years in incompatible ways... Extended and enhanced customized AppRun script - Add a '--ai-usage' invokation param to the AppImage which serves as a starting point to explore the other embedded options - Support displaying of manual pages by running AppImage with added parameter '--man ...' - Also include HTML/PDF documentation, READMEs and licenses into AppImage - Support for more parameters: '--list-man', '--list-pdf', '--list-readme', '--list-license', '--list-html', '--list-exe', '--pdf', '--readme', '--license', '--html' and '--show-apprun' - Support 'fix-pdf' and 'zlib-' as sub-commands (not just as symlinks)
2018-02-24 23:38:44 +00:00
script:
- appimage/build-appimage
after_success:
- cd appimage/build
- find ./appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
- ls -l # for more debugging in Travis' log
- curl --upload-file ./qpdf*.AppImage https://transfer.sh/qpdf-git.$(git rev-parse --short HEAD)-x86_64.AppImage
Enhancements to AppImage Enhance 'build-appimage' script: - add initial comment block and comments for all major steps in the script for the benefit of casual users of the script - 'configure' to build HTML + PDF documentation - do not remove the man pages from the AppDir (will be used by custom AppRun script) - use a bigger icon - use '-g' for appimagetool so it can figure out the 'updateinfo' string on Travis CI - output big fat warning to users who build AppImage in non-"Trusty" environments Add 'AppStream' metadata file This serves to satisfy desktop environments who want to automatically create menu entries, show screenshots and display software descriptions. Note, this file (qpdf.appdata.xml) may need more tweaking since the Freedesktop folks aren't exactly sure themselves how their 'standard' should exactly look like, and they changed their validation tools quite a bit over the recent years in incompatible ways... Extended and enhanced customized AppRun script - Add a '--ai-usage' invokation param to the AppImage which serves as a starting point to explore the other embedded options - Support displaying of manual pages by running AppImage with added parameter '--man ...' - Also include HTML/PDF documentation, READMEs and licenses into AppImage - Support for more parameters: '--list-man', '--list-pdf', '--list-readme', '--list-license', '--list-html', '--list-exe', '--pdf', '--readme', '--license', '--html' and '--show-apprun' - Support 'fix-pdf' and 'zlib-' as sub-commands (not just as symlinks)
2018-02-24 23:38:44 +00:00
- sha512sum ./qpdf*.AppImage*
# Not ready to have travis automatically create github releases
# - wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
# - bash upload.sh qpdf-*x86_64.AppImage* # This should upload the .zsync file as well