QtPBFImagePlugin/.travis.yml

23 lines
665 B
YAML
Raw Permalink Normal View History

2018-12-16 22:14:10 +01:00
language: c++
dist: xenial
2018-12-16 22:14:10 +01:00
os:
- linux
2018-12-16 22:14:10 +01:00
- osx
2018-12-16 22:22:25 +01:00
env:
- QT_SELECT=qt5
2018-12-16 22:14:10 +01:00
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
2018-12-16 22:22:25 +01:00
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install qtbase5-dev qtbase5-dev-tools qt5-qmake libprotobuf-dev protobuf-compiler; fi
2018-12-16 22:14:10 +01:00
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
2018-12-16 22:14:10 +01:00
- make