From ff977331632cb25a7d6e35563a4d9d2907c261d5 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Tue, 13 Nov 2018 16:42:44 +0100 Subject: [PATCH] travis: Start with sonarcloud job first Also change the condition, the environment variable is apparently still around when the decision to run it is made. --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 904f1a910..5dbeb44c6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -55,17 +55,17 @@ env: matrix: include: - - compiler: clang - os: osx - env: TEST=osx - compiler: gcc env: TEST=sonarcloud - if: env(SONAR_TOKEN) IS present + if: type = push git: depth: false addons: sonarcloud: organization: "strongswan" + - compiler: clang + os: osx + env: TEST=osx - compiler: gcc env: TEST=coverage - compiler: clang