mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-05 20:56:57 +01:00
macosx travis.
This commit is contained in:
parent
fe0aaf4db1
commit
823b922712
11
.travis-before-install.sh
Executable file
11
.travis-before-install.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
|
||||
# Mac OS X.
|
||||
brew update
|
||||
brew install https://raw.githubusercontent.com/LRFLEW/homebrew-core/981fa2e8f824b068077e7df47f81bdb8d93a8ea1/Formula/qt5.rb
|
||||
else
|
||||
# Linux.
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install qt57tools qt57base qt57webengine
|
||||
fi
|
@ -1,10 +1,11 @@
|
||||
dist: trusty
|
||||
|
||||
language: cpp
|
||||
osx_image: xcode8
|
||||
|
||||
os:
|
||||
- linux
|
||||
|
||||
- osx
|
||||
|
||||
compiler:
|
||||
- gcc
|
||||
|
||||
@ -13,9 +14,7 @@ git:
|
||||
depth: 3
|
||||
|
||||
before_install:
|
||||
- sudo add-apt-repository ppa:beineri/opt-qt57-trusty -y
|
||||
- sudo apt-get update
|
||||
- sudo apt-get -y install qt57tools qt57base qt57webengine
|
||||
- ./.travis-before-install.sh
|
||||
|
||||
install: true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user