X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=.travis.yml;h=372d045a312e2c154963da4d6619700e3dc18525;hb=e860e2819526d188cafcfa64dbbe52595c5ac167;hp=f1f19c3ed3b744366582d4aa9c92d99ca9d188af;hpb=062e004e48a9087de55e598afc4a78f72e7f4248;p=openssl-gost%2Fengine.git diff --git a/.travis.yml b/.travis.yml index f1f19c3..372d045 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,3 @@ -sudo: required dist: bionic os: linux @@ -16,6 +15,11 @@ matrix: - name: linux/gcc/x86_64 os: linux compiler: gcc + - name: linux/gcc/x86_64 + os: linux + compiler: gcc + env: OPENSSL_BRANCH=OpenSSL_1_1_1-stable + if: type != cron - name: linux/gcc/ppc64le os: linux arch: ppc64le @@ -47,16 +51,13 @@ before_script: - sudo cpanm --notest Test2::V0 > build.log 2>&1 || (cat build.log && exit 1) - git clone --depth 1 -b ${OPENSSL_BRANCH} https://github.com/openssl/openssl.git - cd openssl - - ./config shared -d --prefix=${PREFIX} --openssldir=${PREFIX} && travis_wait make -s -j$(nproc) all && make -s install_sw + - ./config shared -d --prefix=${PREFIX} --openssldir=${PREFIX} -Wl,-rpath=${PREFIX}/lib && travis_wait make -s -j$(nproc) all && make -s install_sw - cd .. script: - - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then export LD_LIBRARY_PATH="${PREFIX}/lib:${LD_LIBRARY_PATH:-}"; fi - - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then export DYLD_LIBRARY_PATH="${PREFIX}/lib:${DYLD_LIBRARY_PATH:-}"; fi - mkdir build - cd build - cmake -DOPENSSL_ROOT_DIR=${PREFIX} -DOPENSSL_LIBRARIES=${PREFIX}/lib -DOPENSSL_ENGINES_DIR=${PREFIX}/engines ${ASAN} .. - make - make test CTEST_OUTPUT_ON_FAILURE=1 - if [ -z "$ASAN" ]; then make tcl_tests; fi -