language: cpp sudo: required dist: trusty addons: apt: packages: - g++-6 sources: &sources - ubuntu-toolchain-r-test os: linux env: COMPILER=g++-6 before_install: - sudo add-apt-repository --yes ppa:beineri/opt-qt57-trusty - sudo apt-get update -qq - wget https://nixos.org/releases/patchelf/patchelf-0.9/patchelf-0.9.tar.bz2 - tar xf patchelf-0.9.tar.bz2 - cd patchelf-*/ - ./configure - make - sudo make install - cd - install: # Packages from https://launchpad.net/~beineri/+archive/ubuntu/opt-qt57-trusty - sudo apt-get -y install qt57tools qt57base script: - source /opt/qt57/bin/qt57-env.sh - /opt/qt57/bin/qmake linuxdeployqt.pro - make CXX='g++-6' -j7 - find . - strip linuxdeployqt/linuxdeployqt - curl --upload-file ./linuxdeployqt/linuxdeployqt https://transfer.sh/linuxdeployqt - mkdir linuxdeployqt.AppDir - cp /usr/local/bin/linuxdeployqt linuxdeployqt.AppDir/AppRun - linuxdeployqt linuxdeployqt.AppDir/AppRun --verbose=3