new build matrix
[m6w6/ext-http] / travis / brotli.sh
index 4fec33ea4fd7999c3e65fad55138ecba60070c89..322a3c3d7d31cff9cc28c8c903ef15342f6b4369 100755 (executable)
@@ -1,9 +1,11 @@
 #!/bin/bash
 
-git clone https://github.com/google/brotli.git /home/travis/brotli.git
-cd /home/travis/brotli.git
-git checkout v1.0.2
-./bootstrap
-./configure --prefix=/home/travis/brotli
-make -j2
-make install
+if test -n "$with_http_libbrotli_dir" && test "$with_http_libbrotli_dir" != "no"; then
+       git clone https://github.com/google/brotli.git /home/travis/brotli.git
+       cd /home/travis/brotli.git
+       git checkout v1.0.2
+       ./bootstrap
+       ./configure --prefix=/home/travis/brotli
+       make -j2
+       make install
+fi