mirror of
https://github.com/tumic0/QtPBFImagePlugin.git
synced 2024-10-06 06:53:21 +02:00
23 lines
665 B
YAML
23 lines
665 B
YAML
language: c++
|
|
dist: xenial
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
env:
|
|
- QT_SELECT=qt5
|
|
|
|
before_install:
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
|
|
|
|
install:
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install qt protobuf; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install qtbase5-dev qtbase5-dev-tools qt5-qmake libprotobuf-dev protobuf-compiler; fi
|
|
|
|
script:
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then PATH=/usr/local/opt/qt/bin/:${PATH}; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then qmake PROTOBUF=/usr/local pbfplugin.pro; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then qmake pbfplugin.pro; fi
|
|
- make
|