Set up continuous integration

Add Travis for OS X and Linux (Ubuntu), Appveyor for Windows builds.
This commit is contained in:
Felix Kauselmann
2019-02-21 20:03:53 +01:00
parent c2fdcfde00
commit 35e0ddb8a8
2 changed files with 64 additions and 0 deletions

44
.travis.yml Normal file
View File

@ -0,0 +1,44 @@
os:
- linux
- osx
dist:
- xenial
language:
- c++
compiler:
- gcc
- clang
addons:
apt:
sources:
- sourceline: 'deb http://download.opensuse.org/repositories/home:/selmf/xUbuntu_16.04/ /'
key_url: 'https://download.opensuse.org/repositories/home:selmf/xUbuntu_16.04/Release.key'
- sourceline: 'ppa:kubuntu-ppa/backports'
packages:
- qt-default
- qt5-qmake
- qtbase5-dev
- qtmultimedia5-dev
- libpoppler-qt5-dev
- qtscript5-dev
- libqt5opengl5-dev
- libglu1-mesa-dev
- libunarr-dev
- qtdeclarative5-dev
homebrew:
packages:
- qt
before_script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]];
then brew link qt --force;
qmake CONFIG+=unarr;
fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]];
then QT_SELECT=qt5 qmake CONFIG+=unarr;
fi
script: make