|
@ -14,8 +14,11 @@ before_install: |
|
|
- make -j7 |
|
|
- make -j7 |
|
|
- sudo make install |
|
|
- sudo make install |
|
|
- cd - |
|
|
- cd - |
|
|
- sudo wget -c "https://github.com/probonopd/AppImageKit/releases/download/6/AppImageAssistant_6-x86_64.AppImage" -O /usr/local/bin/AppImageAssistant |
|
|
- ID=$(wget -q https://api.travis-ci.org/repos/probonopd/appimagetool/builds -O - | head -n 1 | sed -e 's|}|\n|g' | grep '"result":0' | head -n 1 | sed -e 's|,|\n|g' | grep '"id"' | cut -d ":" -f 2) |
|
|
- sudo chmod a+x /usr/local/bin/AppImageAssistant |
|
|
- URL=$(wget -q "https://archive.travis-ci.org/jobs/$((ID+1))/log.txt" -O - | grep "https://transfer.sh/.*/appimagetool" | tail -n 1 | sed -e 's|\r||g') |
|
|
|
|
|
- if [ -z "$URL" ] ; then URL=$(wget -q "https://archive.travis-ci.org/jobs/$((ID+2))/log.txt" -O - | grep "https://transfer.sh/.*/appimagetool" | tail -n 1 | sed -e 's|\r||g') ; fi |
|
|
|
|
|
- sudo wget -c "$RUL" -O /usr/local/bin/appimagetool |
|
|
|
|
|
- sudo chmod a+x /usr/local/bin/appimagetool |
|
|
|
|
|
|
|
|
install: |
|
|
install: |
|
|
- sudo apt-get -y install qt57base binutils |
|
|
- sudo apt-get -y install qt57base binutils |
|
@ -26,7 +29,7 @@ script: |
|
|
- make -j7 |
|
|
- make -j7 |
|
|
- mkdir -p linuxdeployqt.AppDir/usr/bin/ |
|
|
- mkdir -p linuxdeployqt.AppDir/usr/bin/ |
|
|
- cp /usr/local/bin/patchelf linuxdeployqt.AppDir/usr/bin/ |
|
|
- cp /usr/local/bin/patchelf linuxdeployqt.AppDir/usr/bin/ |
|
|
- cp /usr/local/bin/AppImageAssistant linuxdeployqt.AppDir/usr/bin/ |
|
|
- cp /usr/local/bin/appimagetool linuxdeployqt.AppDir/usr/bin/ |
|
|
- # cp $(which qmlimportscanner) linuxdeployqt.AppDir/ # use the one from the Qt to be bundled instead |
|
|
- # cp $(which qmlimportscanner) linuxdeployqt.AppDir/ # use the one from the Qt to be bundled instead |
|
|
- cp ./linuxdeployqt/linuxdeployqt linuxdeployqt.AppDir/linuxdeployqt |
|
|
- cp ./linuxdeployqt/linuxdeployqt linuxdeployqt.AppDir/linuxdeployqt |
|
|
- ./linuxdeployqt/linuxdeployqt linuxdeployqt.AppDir/linuxdeployqt -verbose=3 -appimage |
|
|
- ./linuxdeployqt/linuxdeployqt linuxdeployqt.AppDir/linuxdeployqt -verbose=3 -appimage |
|
|