forked from quicky2000/tartini
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
23 lines (20 loc) · 870 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
matrix:
include:
- os: linux
sudo: required
dist: bionic
compiler: gcc
- os: osx
language: cpp
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update; sudo apt-get install -y qt5-default libqwt-qt5-dev libfftw3-dev libglu1-mesa-dev libasound2-dev libqt5opengl5-dev; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew install -v glfw fftw qt5 qwt ; brew link qt5 --force ; fi
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then qmake pitch.pro ;fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then qmake -Wnone pitch.pro ;fi
- make
- mkdir cmake-build; cd cmake-build
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cmake .. ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export QWT_INSTALL=/usr/local/opt/qwt/lib; cmake -d -DCMAKE_PREFIX_PATH=$(brew --prefix qt5) .. ; fi
- make
#EOF