From d8db4e6dba25438800f08b8cb6e8e14abdd1ce66 Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Tue, 7 May 2019 01:42:43 +0500 Subject: [PATCH] BUILD: travis-ci bugfixes and improvements Call missing scripts/build-ssl.sh (which actually builds SSL variants) Enable OpenSSL, LibreSSL builds caching, it saves a bunch of time LibreSSL builds are not allowed to fail anymore Add openssl to osx builds --- .travis.yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 87331fc2c..f9a13586f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,11 @@ addons: apt: packages: [ liblua5.3-dev ] +cache: + directories: + - download-cache + - ${HOME}/opt + matrix: include: - os: linux @@ -44,22 +49,13 @@ matrix: env: TARGET=linux2628 FLAGS= - os: osx compiler: clang - env: TARGET=generic FLAGS= - allow_failures: - - os: linux - compiler: gcc - env: TARGET=linux2628 LIBRESSL_VERSION=2.9.1 - - os: linux - compiler: gcc - env: TARGET=linux2628 LIBRESSL_VERSION=2.8.3 - - os: linux - compiler: gcc - env: TARGET=linux2628 LIBRESSL_VERSION=2.7.5 + env: TARGET=generic FLAGS="USE_OPENSSL=1" OPENSSL_VERSION=1.1.1b install: - git clone https://github.com/VTest/VTest.git ../vtest # Special flags due to: https://github.com/vtest/VTest/issues/12 - make -C ../vtest FLAGS="-O2 -s -Wall" + - scripts/build-ssl.sh > build-ssl.log 2>&1 || (cat build-ssl.log && exit 1) script: - make CC=$CC V=1 TARGET=$TARGET $FLAGS