2017-08-15 15:42:47 +02:00
|
|
|
language: c++
|
|
|
|
|
2017-12-03 11:20:30 +01:00
|
|
|
os:
|
2017-12-03 11:52:41 +01:00
|
|
|
- linux
|
|
|
|
- osx
|
2017-12-03 11:20:30 +01:00
|
|
|
|
2020-12-22 22:09:09 +01:00
|
|
|
dist: focal
|
|
|
|
|
2017-12-03 11:20:30 +01:00
|
|
|
before_install:
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
|
2019-11-06 08:50:46 +01:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
|
2017-12-03 11:20:30 +01:00
|
|
|
|
2017-08-15 15:42:47 +02:00
|
|
|
install:
|
2017-12-03 11:20:30 +01:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install qt; fi
|
2020-12-24 00:06:29 +01:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install qtbase5-dev qtbase5-private-dev libqt5opengl5-dev qttools5-dev-tools; fi
|
2017-08-15 15:42:47 +02:00
|
|
|
|
|
|
|
script:
|
2017-12-03 12:05:21 +01:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then PATH=/usr/local/opt/qt/bin/:${PATH}; fi
|
2017-08-15 15:42:47 +02:00
|
|
|
- lrelease gpxsee.pro
|
|
|
|
- qmake gpxsee.pro
|
|
|
|
- make
|