-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
|
||
language: cpp | ||
|
||
matrix: | ||
include: | ||
- os: osx | ||
compiler: clang | ||
env: | ||
- QT_BASE=57 | ||
|
||
before_install: | ||
- if [[ "$QT_BASE" = "57" && "$TRAVIS_OS_NAME" = "linux" ]]; then sudo add-apt-repository ppa:beineri/opt-qt571-trusty -y; fi | ||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then | ||
sudo apt-get update -qq; | ||
else | ||
brew update; | ||
fi | ||
|
||
install: | ||
- if [ "$QT_BASE" = "57" ]; then | ||
if [ "$TRAVIS_OS_NAME" = "linux" ]; then | ||
sudo apt-get install -qq qt57base; source /opt/qt57/bin/qt57-env.sh; | ||
else | ||
brew install qt5; | ||
brew link --force qt5; | ||
fi | ||
fi | ||
|
||
script: | ||
- qmake blinkers.pro | ||
- make | ||
|
||
notifications: | ||
email: false | ||
|