mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-26 02:45:25 +02:00
enable osx in travis config
This commit is contained in:
parent
9c97ee6407
commit
8bac849057
1 changed files with 5 additions and 3 deletions
|
@ -3,6 +3,7 @@ cache:
|
|||
apt: true
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
sudo: required
|
||||
dist: trusty
|
||||
addons:
|
||||
|
@ -25,11 +26,12 @@ compiler:
|
|||
- clang
|
||||
before_install:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install openssl miniupnpc ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew unlink boost openssl && brew link boost openssl -f ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install boost libressl miniupnpc ; fi
|
||||
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew unlink boost openssl && brew link boost openssl -f ; fi
|
||||
env:
|
||||
matrix:
|
||||
- BUILD_TYPE=Release UPNP=ON
|
||||
- BUILD_TYPE=Release UPNP=OFF
|
||||
script:
|
||||
- cd build && cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DWITH_UPNP=${UPNP} && make
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; cd build && cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DWITH_UPNP=${UPNP} && make ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; make HOMEBREW=1 USE_UPNP=${UPNP} ; fi
|
||||
|
|
Loading…
Add table
Reference in a new issue