]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Travis: use the Homebrew addon for xz and zstd
authorteor <teor@torproject.org>
Tue, 18 Sep 2018 09:36:28 +0000 (19:36 +1000)
committerteor <teor@torproject.org>
Tue, 18 Sep 2018 09:37:16 +0000 (19:37 +1000)
xz and zstd were added as optional dependencies in 0.3.1.1-alpha.

Implements ticket 27738.

.travis.yml

index 878175f6613d024ba6000532eb99042e752a50a1..68842419a913d70931c0f05579cbacb4c2f179e6 100644 (file)
@@ -140,6 +140,8 @@ addons:
       #- zlib
       ## Optional dependencies
       - libscrypt
+      - xz
+      - zstd
       ## Required build dependencies
       ## Tor needs pkg-config to find some dependencies at build time
       - pkg-config
@@ -162,8 +164,6 @@ before_install:
 install:
   ## If we're on OSX, configure ccache (ccache is automatically installed and configured on Linux)
   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH="/usr/local/opt/ccache/libexec:$PATH"; fi
-  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install xz; fi
-  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install zstd; fi
   ## If we're on OSX, OpenSSL is keg-only, so tor 0.2.9 and later need to be configured --with-openssl-dir= to build
   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then OPENSSL_OPTIONS=--with-openssl-dir=`brew --prefix openssl`; fi
   ## Install conditional features