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.

41 lines
1.1 KiB

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 -p linuxdeployqt.AppDir/usr/bin/
- cp /usr/local/bin/patchelf linuxdeployqt.AppDir/usr/bin/
- cp ./linuxdeployqt/linuxdeployqt linuxdeployqt.AppDir/AppRun
- ./linuxdeployqt/linuxdeployqt linuxdeployqt.AppDir/AppRun -verbose=3