yacreader/.travis.yml
Felix Kauselmann 35e0ddb8a8 Set up continuous integration
Add Travis for OS X and Linux (Ubuntu), Appveyor for Windows builds.
2019-02-22 19:34:36 +01:00

45 lines
870 B
YAML

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