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.

31 lines
719 B

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-qt51-trusty
- sudo apt-get update -qq
install:
# Packages from https://launchpad.net/~beineri/+archive/ubuntu/opt-qt57-trusty
- sudo apt-get -y install qt51tools qt51base
script:
- source /opt/qt57/bin/qt51-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
# TODO: linuxdeployqt itself and create an AppImage