From: Vitaly Chikunov Date: Wed, 23 Jan 2019 23:58:10 +0000 (+0300) Subject: travis: speed up Travis build X-Git-Tag: v3.0.0~312^2 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=c38ec758784f5580e22586435489f5ff8e2a5fda;p=openssl-gost%2Fengine.git travis: speed up Travis build Do shallow clone of openssl, make parallel on all available cpus (2). --- diff --git a/.travis.yml b/.travis.yml index 861ad17..f46d234 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,9 +24,9 @@ matrix: # compiler: gcc before_script: - - git clone -b ${OPENSSL_BRANCH} https://github.com/openssl/openssl.git + - git clone --depth 1 -b ${OPENSSL_BRANCH} https://github.com/openssl/openssl.git - cd openssl - - ./config shared --prefix=${PREFIX} --openssldir=${PREFIX} && make all install_sw > build.log 2>&1 || (cat build.log && exit 1) + - ./config shared --prefix=${PREFIX} --openssldir=${PREFIX} && make -j$(nproc) all && make install_sw > build.log 2>&1 || (cat build.log && exit 1) - cd .. script: