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
|
|
|
|
|
|
|
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
|
2019-07-28 11:58:56 +02:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install libqt4-dev libqt4-opengl-dev; 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
|