diff --git a/.travis.yml b/.travis.yml index 52c23d8..a827666 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,7 +47,7 @@ linux-s390x: &linux-s390x - sudo ln -s /usr/bin/make /usr/bin/gmake script: - util/mirror-tarballs > build.log 2>&1 || (cat build.log && exit 1) - - cd openresty-* + - cd "openresty-$(./util/ver)" - ./configure --prefix=$OPENRESTY_PREFIX --with-cc-opt="-I$PCRE_INC -I$OPENSSL_INC" --with-ld-opt="-L$PCRE_LIB -L$OPENSSL_LIB -Wl,-rpath,$PCRE_LIB:$OPENSSL_LIB" --with-pcre-jit --with-http_ssl_module --with-debug -j$JOBS > build.log 2>&1 || (cat build.log && exit 1) - make -j$JOBS > build.log 2>&1 || (cat build.log && exit 1) - sudo make install > build.log 2>&1 || (cat build.log && exit 1) @@ -86,7 +86,7 @@ linux-ppc64le: &linux-ppc64le - sudo ln -s /usr/bin/make /usr/bin/gmake script: - util/mirror-tarballs > build.log 2>&1 || (cat build.log && exit 1) - - cd openresty-* + - cd "openresty-$(./util/ver)" - ./configure --prefix=$OPENRESTY_PREFIX --with-cc-opt="-I$PCRE_INC -I$OPENSSL_INC" --with-ld-opt="-L$PCRE_LIB -L$OPENSSL_LIB -Wl,-rpath,$PCRE_LIB:$OPENSSL_LIB" --with-pcre-jit --with-http_ssl_module --with-debug -j$JOBS > build.log 2>&1 || (cat build.log && exit 1) - make -j$JOBS > build.log 2>&1 || (cat build.log && exit 1) - sudo make install > build.log 2>&1 || (cat build.log && exit 1) @@ -147,7 +147,7 @@ install: script: - util/mirror-tarballs > build.log 2>&1 || (cat build.log && exit 1) - - cd openresty-* + - cd "openresty-$(./util/ver)" - ./configure --prefix=$OPENRESTY_PREFIX --with-cc-opt="-I$PCRE_INC -I$OPENSSL_INC" --with-ld-opt="-L$PCRE_LIB -L$OPENSSL_LIB -Wl,-rpath,$PCRE_LIB:$OPENSSL_LIB" --with-pcre-jit --with-http_ssl_module --with-debug -j$JOBS > build.log 2>&1 || (cat build.log && exit 1) - make -j$JOBS > build.log 2>&1 || (cat build.log && exit 1) - sudo make install > build.log 2>&1 || (cat build.log && exit 1)