mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-26 10:55:24 +02:00
test multi os building [5]
This commit is contained in:
parent
9134b0dd14
commit
f9a6ce56b5
1 changed files with 1 additions and 4 deletions
|
@ -1,8 +1,6 @@
|
|||
language: cpp
|
||||
cache:
|
||||
apt: true
|
||||
directories:
|
||||
- $HOME/Library/Caches/Homebrew
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
|
@ -28,9 +26,8 @@ env:
|
|||
- BUILD_TYPE=Release UPNP=ON MAKE_UPNP=yes
|
||||
- BUILD_TYPE=Release UPNP=OFF MAKE_UPNP=no
|
||||
before_install:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libressl miniupnpc ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade boost ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew outdated boost || brew upgrade boost ; fi
|
||||
script:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd build && cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DWITH_UPNP=${UPNP} && make ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then make HOMEBREW=1 USE_UPNP=${MAKE_UPNP} ; fi
|
||||
|
|
Loading…
Add table
Reference in a new issue