From c38ec758784f5580e22586435489f5ff8e2a5fda Mon Sep 17 00:00:00 2001 From: Vitaly Chikunov Date: Thu, 24 Jan 2019 02:58:10 +0300 Subject: [PATCH] travis: speed up Travis build Do shallow clone of openssl, make parallel on all available cpus (2). --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.39.5