From a1b6dc0598297a425e17e5c0c063bd123c114ce6 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sun, 26 Feb 2017 00:54:01 +0100 Subject: [PATCH 1/3] Create .travis.yml --- .travis.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..2d7fb02 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,30 @@ +language: cpp +compiler: gcc +sudo: require +dist: trusty + +before_install: + - sudo add-apt-repository ppa:beineri/opt-qt58-trusty -y + - sudo apt-get update -qq + +install: + - sudo apt-get -y install qt58base + - source /opt/qt58/bin/qt58-env.sh + +script: + - cd UEFITool + - qmake PREFIX=/usr + - make -j4 + - sudo apt-get -y install checkinstall + - sudo checkinstall --pkgname=app --pkgversion="1" --pkgrelease="1" --backup=no --fstrans=no --default --deldoc + - mkdir appdir ; cd appdir + - dpkg -x ../app_1-1_amd64.deb . ; find . + - cp ./usr/share/applications/*.desktop . + - cp ./usr/share/icons/hicolor/48x48/apps/*.png . + - cd .. + - wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/3/linuxdeployqt-3-x86_64.AppImage" + - chmod a+x linuxdeployqt*.AppImage + - unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH + - ./linuxdeployqt*.AppImage ./appdir/usr/bin/* -bundle-non-qt-libs + - ./linuxdeployqt*.AppImage ./appdir/usr/bin/* -appimage + - curl --upload-file ./UEFITool-*.AppImage https://transfer.sh/UEFITool-git.$(git rev-parse --short HEAD)-x86_64.AppImage From a535e8a577027a4acb7fd99a2bbd673fcf0ad84a Mon Sep 17 00:00:00 2001 From: probonopd Date: Sun, 26 Feb 2017 01:00:38 +0100 Subject: [PATCH 2/3] Update .travis.yml --- .travis.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2d7fb02..801c1f4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,12 +15,10 @@ script: - cd UEFITool - qmake PREFIX=/usr - make -j4 - - sudo apt-get -y install checkinstall - - sudo checkinstall --pkgname=app --pkgversion="1" --pkgrelease="1" --backup=no --fstrans=no --default --deldoc - - mkdir appdir ; cd appdir - - dpkg -x ../app_1-1_amd64.deb . ; find . - - cp ./usr/share/applications/*.desktop . - - cp ./usr/share/icons/hicolor/48x48/apps/*.png . + - mkdir -p appdir/usr/bin ; mkdir -p appdir/usr/share/{applications,icons} ; cd appdir + - cp ../uefitool usr/bin + - cp ../uefitool.desktop . + - cp ../icons/uefitool_256x256.png uefitool.png - cd .. - wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/3/linuxdeployqt-3-x86_64.AppImage" - chmod a+x linuxdeployqt*.AppImage From cec9d67165e3ef1337fa575aa8128c77b91164db Mon Sep 17 00:00:00 2001 From: probonopd Date: Sun, 26 Feb 2017 01:04:10 +0100 Subject: [PATCH 3/3] Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 801c1f4..aadc7d2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ script: - qmake PREFIX=/usr - make -j4 - mkdir -p appdir/usr/bin ; mkdir -p appdir/usr/share/{applications,icons} ; cd appdir - - cp ../uefitool usr/bin + - cp ../UEFITool usr/bin/uefitool - cp ../uefitool.desktop . - cp ../icons/uefitool_256x256.png uefitool.png - cd ..