mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-26 10:55:24 +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
|
apt: true
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
|
- osx
|
||||||
sudo: required
|
sudo: required
|
||||||
dist: trusty
|
dist: trusty
|
||||||
addons:
|
addons:
|
||||||
|
@ -25,11 +26,12 @@ compiler:
|
||||||
- clang
|
- clang
|
||||||
before_install:
|
before_install:
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
|
- 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 install boost libressl 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 unlink boost openssl && brew link boost openssl -f ; fi
|
||||||
env:
|
env:
|
||||||
matrix:
|
matrix:
|
||||||
- BUILD_TYPE=Release UPNP=ON
|
- BUILD_TYPE=Release UPNP=ON
|
||||||
- BUILD_TYPE=Release UPNP=OFF
|
- BUILD_TYPE=Release UPNP=OFF
|
||||||
script:
|
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