travis-ci: Fix CI on macOS

parent 4849857b
Pipeline #335 passed with stages
in 1 minute and 2 seconds
......@@ -21,7 +21,8 @@ compiler:
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libogg opus opusfile libopusenc flac xz; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libogg opus opusfile libopusenc flac; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PKG_CONFIG_PATH="$(brew --prefix openssl)/lib/pkgconfig"; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then git clone https://git.xiph.org/libopusenc.git; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pushd libopusenc; ./autogen.sh; ./configure --prefix=$PWD/_inst; make check; make install; export PKG_CONFIG_PATH=$PWD/_inst/lib/pkgconfig; popd; fi
......
Markdown is supported
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