Re: PATCH: save some electricity on travis-ci (run non mainstream builds only daily)

2019-08-19 Thread Willy Tarreau
On Mon, Aug 19, 2019 at 09:41:55PM +0500,  ??? wrote:
> sure.
> 
> I attached new patch

Applied, thank you Ilya.
Willy



Re: PATCH: save some electricity on travis-ci (run non mainstream builds only daily)

2019-08-19 Thread Илья Шипицин
sure.

I attached new patch

пн, 19 авг. 2019 г. в 11:48, Willy Tarreau :

> On Sun, Aug 18, 2019 at 02:25:00PM +0500,  ??? wrote:
> > Hi, any update on this?
>
> Sorry, I wanted to comment on it then got distracted by other activities.
> Could you please put a commit message roughly indicating the changes
> (what's left on push, what's left on cron) ?  It's quite a burden to
> have to read the patch in its context to try to guess what the expected
> situation is.
>
> Thanks,
> Willy
>
From d4874df938ecdbe335ca11cddcd68d0249908662 Mon Sep 17 00:00:00 2001
From: Ilya Shipitsin 
Date: Mon, 19 Aug 2019 21:32:53 +0500
Subject: [PATCH] BUILD: travis-ci: trigger non-mainstream configurations only
 on daily builds. Let us save some electricity of Travis-CI.

The following configurations are built on every push:

  - linux-glibc with threads+openssl 1.1.1 on x86 + clang
  - linux-glibc with threads+libressl 2.9.2 on x86 + clang
  - linux-glibc without SSL nor threads on x86 + clang
  - osx with openssl-1.1.1 + clang

The following configurations are built daily:

  - linux-ppc64le + openssl-1.0.2
  - linux + openssl-1.1.0 + 51d/tree
  - linux + libressl-2.8.3
  - linux + libressl-2.7.5 + prometheus
  - linux + boringssl
  - cygwin
  - coverity scan
---
 .travis.yml | 24 
 1 file changed, 8 insertions(+), 16 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index bf4e9d3cd..a65662496 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,14 +22,10 @@ cache:
 
 matrix:
   include:
-  - os: linux
-if: type != cron
-compiler: gcc
-env: TARGET=linux-glibc FIFTYONEDEGREES_SRC="contrib/51d/src/trie"
   - os: linux-ppc64le
-if: type != cron
+if: type == cron
 compiler: gcc
-env: TARGET=linux-glibc OPENSSL_VERSION=1.1.1c LABEL="linux-ppc64le"
+env: TARGET=linux-glibc OPENSSL_VERSION=1.0.2r LABEL="linux-ppc64le"
   - os: linux
 if: type != cron
 compiler: clang
@@ -45,27 +41,23 @@ matrix:
   curl -s "https://scan.coverity.com/scripts/travisci_build_coverity_scan.sh"; | bash || true
 fi
   - os: linux
-if: type != cron
-compiler: clang
-env: TARGET=linux-glibc OPENSSL_VERSION=1.1.0j
-  - os: linux
-if: type != cron
+if: type == cron
 compiler: clang
-env: TARGET=linux-glibc OPENSSL_VERSION=1.0.2r
+env: TARGET=linux-glibc OPENSSL_VERSION=1.1.0j FIFTYONEDEGREES_SRC="contrib/51d/src/trie"
   - os: linux
 if: type != cron
 compiler: clang
 env: TARGET=linux-glibc LIBRESSL_VERSION=2.9.2
   - os: linux
-if: type != cron
+if: type == cron
 compiler: clang
 env: TARGET=linux-glibc LIBRESSL_VERSION=2.8.3
   - os: linux
-if: type != cron
+if: type == cron
 compiler: clang
 env: TARGET=linux-glibc LIBRESSL_VERSION=2.7.5 EXTRA_OBJS="contrib/prometheus-exporter/service-prometheus.o"
   - os: linux
-if: type != cron
+if: type == cron
 compiler: clang
 env: TARGET=linux-glibc BORINGSSL=yes
   - os: linux
@@ -77,7 +69,7 @@ matrix:
 compiler: clang
 env: TARGET=osx FLAGS="USE_OPENSSL=1" OPENSSL_VERSION=1.1.1c
   - os: windows
-if: type != cron
+if: type == cron
 install:
   - choco install bash make libssl-devel cygwin-devel gcc-core libgcc1 binutils lua-devel libpcre-devel zlib-devel --source cygwin
 script:
-- 
2.20.1



Re: PATCH: save some electricity on travis-ci (run non mainstream builds only daily)

2019-08-18 Thread Willy Tarreau
On Sun, Aug 18, 2019 at 02:25:00PM +0500,  ??? wrote:
> Hi, any update on this?

Sorry, I wanted to comment on it then got distracted by other activities.
Could you please put a commit message roughly indicating the changes
(what's left on push, what's left on cron) ?  It's quite a burden to
have to read the patch in its context to try to guess what the expected
situation is.

Thanks,
Willy



Re: PATCH: save some electricity on travis-ci (run non mainstream builds only daily)

2019-08-18 Thread Илья Шипицин
Hi, any update on this?

On Wed, Aug 7, 2019, 7:10 PM Илья Шипицин  wrote:

> Hello,
>
> please find attached patch.
>
>
> Thanks!
> Ilya Shipitsin
>