QtPBFImagePlugin/.travis.yml

25 lines
746 B
YAML
Raw Normal View History

2018-12-16 22:14:10 +01:00
language: c++
2020-12-22 23:51:30 +01:00
dist: focal
osx_image: xcode12
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
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
2018-12-16 22:14:10 +01:00
install:
2020-12-22 23:51:30 +01:00
- 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