mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 23:49:35 -05:00
fixed merge
This commit is contained in:
parent
1f81a4cb6f
commit
4938200bac
17
.travis.yml
17
.travis.yml
@ -6,21 +6,22 @@ language: cpp
|
||||
matrix:
|
||||
include:
|
||||
- os: osx
|
||||
osx_image: xcode6.2
|
||||
osx_image: xcode9.3
|
||||
compiler: clang
|
||||
sudo: required
|
||||
sudo: false
|
||||
|
||||
before_install:
|
||||
- if [ $TRAVIS_OS_NAME == osx ]; then brew update ; fi
|
||||
- if [ $TRAVIS_OS_NAME == osx ]; then brew install qt openssl miniupnpc libmicrohttpd sqlcipher xapian; fi
|
||||
- if [ $TRAVIS_OS_NAME == osx ]; then brew link --force qt ; fi
|
||||
- if [ $TRAVIS_OS_NAME == osx ]; then brew install ccach; export PATH="/usr/local/opt/ccache/libexec:$PATH" ; fi
|
||||
- if [ $TRAVIS_OS_NAME == osx ]; then brew install qt5; fi
|
||||
- if [ $TRAVIS_OS_NAME == osx ]; then brew link --force qt5 ; fi
|
||||
- if [ $TRAVIS_OS_NAME == osx ]; then brew install openssl miniupnpc libmicrohttpd sqlcipher xapian; fi
|
||||
- if [ $TRAVIS_OS_NAME == osx ]; then brew install p7zip; fi
|
||||
- if [ $TRAVIS_OS_NAME == osx ]; then npm install -g appdmg; fi
|
||||
|
||||
- wget https://github.com/Tencent/rapidjson/archive/v1.1.0.tar.gz
|
||||
- tar -xf v1.1.0.tar.gz
|
||||
- if [ $TRAVIS_OS_NAME == osx ]; then cp -r rapidjson-1.1.0/include/rapidjson/ /usr/local/include/rapidjson ; fi
|
||||
- if [ $TRAVIS_OS_NAME == osx ]; then ln -s /usr/local/opt/openssl/include/* /usr/local/include/; fi
|
||||
- if [ $TRAVIS_OS_NAME == osx ]; then ln -s /usr/local/opt/openssl/lib/*.a /usr/local/lib/; fi
|
||||
- if [ $TRAVIS_OS_NAME == osx ]; then ln -s /usr/local/opt/openssl/lib/*.dylib /usr/local/lib/; fi
|
||||
|
||||
env:
|
||||
global:
|
||||
@ -38,7 +39,7 @@ addons:
|
||||
branch_pattern: coverity_scan
|
||||
|
||||
before_script:
|
||||
- if [ $TRAVIS_OS_NAME == osx ]; then qmake QMAKE_CC=$CC QMAKE_CXX=$CXX CONFIG+=rs_macos10.12 CONFIG+=no_retroshare_plugins INCLUDEPATH+=/usr/local/opt/openssl/include/ QMAKE_LIBDIR+=/usr/local/opt/openssl/lib/; fi
|
||||
- if [ $TRAVIS_OS_NAME == osx ]; then qmake QMAKE_CC=$CC QMAKE_CXX=$CXX CONFIG+=rs_macos10.13 CONFIG+=no_retroshare_plugins INCLUDEPATH+=/usr/local/opt/openssl/include/ INCLUDEPATH+=/usr/local/Cellar/sqlcipher/4.0.1/include INCLUDEPATH+=/usr/local/Cellar/libmicrohttpd/0.9.62/include QMAKE_LIBDIR+=/usr/local/opt/openssl/lib/ QMAKE_LIBDIR+=/usr/local/Cellar/libmicrohttpd/0.9.62/lib QMAKE_LIBDIR+=/usr/local/Cellar/sqlcipher/4.0.1/lib; fi
|
||||
|
||||
script:
|
||||
- if [ $TRAVIS_OS_NAME == osx ] && [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then make -j4; fi
|
||||
|
@ -638,14 +638,24 @@ macx-* {
|
||||
|
||||
|
||||
message(***retroshare.pri:MacOSX)
|
||||
BIN_DIR += "/usr/bin"
|
||||
INC_DIR += "/usr/include"
|
||||
INC_DIR += "/usr/local/include"
|
||||
INC_DIR += "/opt/local/include"
|
||||
LIB_DIR += "/usr/local/lib"
|
||||
LIB_DIR += "/opt/local/lib"
|
||||
# BIN_DIR += "/usr/bin"
|
||||
# INC_DIR += "/usr/include"
|
||||
# INC_DIR += "/usr/local/include"
|
||||
# INC_DIR += "/opt/local/include"
|
||||
# LIB_DIR += "/usr/local/lib"
|
||||
# LIB_DIR += "/opt/local/lib"
|
||||
BIN_DIR += "/Applications/Xcode.app/Contents/Developer/usr/bin"
|
||||
INC_DIR += "/usr/local/Cellar/miniupnpc/2.1/include"
|
||||
INC_DIR += "/usr/local/Cellar/libmicrohttpd/0.9.59/include"
|
||||
INC_DIR += "/usr/local/Cellar/sqlcipher/4.0.0/include"
|
||||
LIB_DIR += "/usr/local/opt/openssl/lib/"
|
||||
LIB_DIR += "/usr/local/Cellar/libmicrohttpd/0.9.59/lib"
|
||||
LIB_DIR += "/usr/local/Cellar/sqlcipher/4.0.0/lib"
|
||||
LIB_DIR += "/usr/local/Cellar/miniupnpc/2.1/lib"
|
||||
CONFIG += c++11
|
||||
INCLUDEPATH += "/usr/local/include"
|
||||
RS_UPNP_LIB = miniupnpc
|
||||
QT += macextras
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user