You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
2.2 KiB

language: cpp
sudo: required
dist: trusty
os: linux
env:
global:
- DISPLAY=:99
before_install:
- sudo add-apt-repository --yes ppa:beineri/opt-qt58-trusty
- sudo apt-get update -qq
- git clone https://github.com/NixOS/patchelf.git
- cd patchelf
- bash ./bootstrap.sh
- ./configure
- make -j2
- sudo make install
- cd -
- sudo wget -c "https://github.com/probonopd/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" -O /usr/local/bin/appimagetool
- sudo chmod a+x /usr/local/bin/appimagetool
install:
- sudo apt-get -y install qt58base qt58declarative binutils xpra
script:
- source /opt/qt*/bin/qt*-env.sh
- /opt/qt*/bin/qmake linuxdeployqt.pro
- make -j2
- mkdir -p linuxdeployqt.AppDir/usr/bin/
- cp /usr/local/bin/patchelf linuxdeployqt.AppDir/usr/bin/
- cp /usr/local/bin/appimagetool linuxdeployqt.AppDir/usr/bin/
- find linuxdeployqt.AppDir/
- export VERSION=continuous
- cp ./linuxdeployqt/linuxdeployqt linuxdeployqt.AppDir/usr/bin/
- ./linuxdeployqt/linuxdeployqt linuxdeployqt.AppDir/usr/bin/linuxdeployqt -verbose=3 -appimage
- ls -lh
- find *.AppDir
- xpra start :99
- bash -e tests/tests.sh
after_success:
8 years ago
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash ./upload.sh ./linuxdeployqt-*.AppImage
after_script:
- "xpra stop :99"
8 years ago
branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)$/
notifications:
irc:
channels:
- "chat.freenode.net#AppImage"
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: always # options: [always|never|change] default: always
template:
- "%{repository} build %{build_number}: %{result} %{build_url}"
use_notice: true
# skip_join: true
webhooks:
urls:
- https://webhooks.gitter.im/e/4bf20518805a55998cc2
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: always # options: [always|never|change] default: always