Skip to content
Snippets Groups Projects
Commit 0ac5ac9d authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa
Browse files

travis: Use addons.homebrew.packages

parent 5b95dd55
No related merge requests found
...@@ -31,6 +31,10 @@ addons: ...@@ -31,6 +31,10 @@ addons:
- libev-dev - libev-dev
- cmake - cmake
- cmake-data - cmake-data
homebrew:
packages:
- libev
- cunit
before_install: before_install:
- $CC --version - $CC --version
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then CMAKE_OPTS=" -DENABLE_ASAN=1" AUTOTOOLS_OPTS=" --enable-asan"; fi - if [ "$TRAVIS_OS_NAME" == "linux" ]; then CMAKE_OPTS=" -DENABLE_ASAN=1" AUTOTOOLS_OPTS=" --enable-asan"; fi
...@@ -41,7 +45,6 @@ before_script: ...@@ -41,7 +45,6 @@ before_script:
# First build external lib # First build external lib
- ./ci/build_openssl.sh - ./ci/build_openssl.sh
- ./ci/build_nghttp3.sh - ./ci/build_nghttp3.sh
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libev cunit; fi
# configure ngtcp2 # configure ngtcp2
- if [ "$CI_BUILD" == "autotools" ]; then autoreconf -i; fi - if [ "$CI_BUILD" == "autotools" ]; then autoreconf -i; fi
- export PKG_CONFIG_PATH=$PWD/../openssl/build/lib/pkgconfig:$PWD/../nghttp3/build/lib/pkgconfig LDFLAGS="$EXTRA_LDFLAGS -Wl,-rpath,$PWD/../openssl/build/lib" - export PKG_CONFIG_PATH=$PWD/../openssl/build/lib/pkgconfig:$PWD/../nghttp3/build/lib/pkgconfig LDFLAGS="$EXTRA_LDFLAGS -Wl,-rpath,$PWD/../openssl/build/lib"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment