version: 1 script: - rm -rf AppDir appimage-builder-cache *.AppImage *.zsync |true - mkdir -p AppDir/usr - mkdir -p AppDir/usr/share/icons/hicolor/scalable/apps - mkdir -p AppDir/usr/share/applications - wget https://github.com/vinifmor/bauh/archive/${BAUH_VERSION}.tar.gz || exit 1 - BAUH_SETUP_NO_REQS=1 pip3 install ${BAUH_VERSION}.tar.gz --prefix=/usr --root=AppDir || exit 1 - tar -xf ${BAUH_VERSION}.tar.gz || exit 1 - cd bauh-${BAUH_VERSION} || exit 1 - cp bauh/view/resources/img/logo.svg ../AppDir/usr/share/icons/hicolor/scalable/apps/bauh.svg || exit 1 - cp bauh/desktop/bauh.desktop ../AppDir/usr/share/applications || exit 1 AppDir: path: ./AppDir app_info: id: bauh name: bauh icon: bauh version: !ENV ${BAUH_VERSION} exec: /usr/bin/python3 exec_args: "$APPDIR/usr/bin/bauh $@" apt: arch: amd64 sources: - sourceline: 'deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse' key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3b4fe6acc0b21f32' include: - python3 - python3-requests - python3-colorama - python3-dateutil - python3-yaml - python3-packaging - python3-lxml - python3-bs4 - sqlite3 - wget # - libfreetype6 # - libfontconfig1 exclude: - dpkg - apt - aptitude - python3-pip - python3-setuptools - python3-distutils after_bundle: - pip3 install pyqt5 --prefix=/usr --root=AppDir || exit 1 - cd AppDir/usr/lib/python3.8/site-packages/PyQt5/Qt5/plugins || exit 1 - rm -rf audio gamepad gamepads geoservices printsupport sceneparsers sensorgestures sensors sqldrivers texttospeech webview || exit 1 - cd ../ - cd lib/ || exit 1 - rm libQt5Bluetooth.so.5 libQt5Designer.so.5 libQt5Multimedia.so.5 libQt5MultimediaGstTools.so.5 libQt5MultimediaWidgets.so.5 || exit 1 - rm libQt5Quick3D.so.5 libQt5Quick3DAssetImport.so.5 libQt5Quick3DRender.so.5 libQt5Quick3DRuntimeRender.so.5 libQt5QuickTest.so.5 || exit 1 - rm libQt5Quick3DUtils.so.5 libQt5PrintSupport.so.5 libQt5SerialPort.so.5 libQt5Sql.so.5 libQt5Sensors.so.5 libQt5Test.so.5 libQt5WebView.so.5 || exit 1 runtime: version: "continuous" env: PYTHONHOME: '${APPDIR}/usr' PYTHONPATH: '${APPDIR}/usr/lib/python3.8/site-packages' test: fedora: image: appimagecrafters/tests-env:fedora-30 command: ./AppRun --version use_host_x: true debian: image: appimagecrafters/tests-env:debian-stable command: ./AppRun --version use_host_x: true arch: image: appimagecrafters/tests-env:archlinux-latest command: ./AppRun --version use_host_x: true centos: image: appimagecrafters/tests-env:centos-7 command: ./AppRun --version use_host_x: true ubuntu: image: appimagecrafters/tests-env:ubuntu-xenial command: ./AppRun --version use_host_x: true AppImage: update-information: 'gh-releases-zsync|vinifmor|bauh|latest|bauh-*x86_64.AppImage.zsync' sign-key: None arch: x86_64