Made an AppImage on my local machine which I then wanted to run on Travis CI.
Getting:
/aoi_supp/trampoline: line 5: /home/travis/build/AppImage/AppImageHub/appstreamcli: No such file or directory
Reference:
https://travis-ci.org/AppImage/AppImageHub/builds/266456025#L995
This is how I made the AppImage locally:
sudo apt-get install -yq --no-install-recommends tcl cmake gettext itstool libglib2.0-dev libxml2-dev gtk-doc-tools libgirepository1.0-dev qt5-default libyaml-dev xmlto publican gobject-introspection libstemmer-dev valac git
git clone https://github.com/ximion/appstream
cd appstream/
mkdir build
cd build/
cmake .. -DQT=OFF -DVAPI=OFF -DDOCUMENTATION=OFF -DMAINTAINER=OFF -DSTEMMING=OFF -DAPT_SUPPORT=OFF
make
git clone https://github.com/lvml/makeaoi
cd makeaoi
make
cd ..
./makeaoi/makeaoi trace foo ./tools/appstreamcli /usr/share/appdata/catfish.appdata.xml
./makeaoi/makeaoi populate foo
rm -rf foo/root_overlay/usr/share/appdata/
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
chmod a+x appimagetool-x86_64.AppImage
./appimagetool-x86_64.AppImage --no-appstream foo
This is how I "install" it on Travis CI:
sudo wget -c "https://github.com/AppImage/AppImageHub/releases/download/deps/appstreamcli-x86_64.AppImage" -O /usr/local/bin/appstreamcli
sudo chmod a+x /usr/local/bin/appstreamcli
Made an AppImage on my local machine which I then wanted to run on Travis CI.
Getting:
Reference:
https://travis-ci.org/AppImage/AppImageHub/builds/266456025#L995
This is how I made the AppImage locally:
This is how I "install" it on Travis CI: