Hello,

to reduce build noise, let us skip PR builds

cheers,
Ilya Shipicin
From cb4bc027da998dbc01a9825c891708305d616471 Mon Sep 17 00:00:00 2001
From: Ilya Shipitsin <chipits...@gmail.com>
Date: Wed, 18 Mar 2020 21:27:39 +0500
Subject: [PATCH] CI: run travis-ci builds on push only, skip pull requests

---
 .travis.yml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 73b293dc5..a1e71e35d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -39,17 +39,17 @@ matrix:
     env: TARGET=linux-glibc OPENSSL_VERSION=1.0.2u
   - os: linux
     arch: amd64
-    if: type != cron
+    if: type == push
     compiler: clang
     env: TARGET=linux-glibc OPENSSL_VERSION=1.1.1d CC=clang-9
   - os: linux
     arch: arm64
-    if: type != cron
+    if: type == push
     compiler: clang
     env: TARGET=linux-glibc OPENSSL_VERSION=1.1.1d CC=clang-9
   - os: linux
     arch: s390x
-    if: type != cron
+    if: type == push
     compiler: gcc
     env: TARGET=linux-glibc OPENSSL_VERSION=1.1.1d
   - os: linux
@@ -67,7 +67,7 @@ matrix:
     compiler: clang
     env: TARGET=linux-glibc OPENSSL_VERSION=1.1.0l FIFTYONEDEGREES_SRC="contrib/51d/src/trie" CC=clang-9
   - os: linux
-    if: type != cron
+    if: type == push
     compiler: clang
     env: TARGET=linux-glibc LIBRESSL_VERSION=3.0.2 CC=clang-9
   - os: linux
@@ -83,11 +83,11 @@ matrix:
     compiler: clang
     env: TARGET=linux-glibc BORINGSSL=yes
   - os: linux
-    if: type != cron
+    if: type == push
     compiler: clang
     env: TARGET=linux-glibc FLAGS= CC=clang-9
   - os: osx
-    if: type != cron
+    if: type == push
     compiler: clang
     env: TARGET=osx FLAGS="USE_OPENSSL=1" OPENSSL_VERSION=1.1.1d
   - os: linux
-- 
2.24.1

Reply via email to