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.
This commit is contained in:
Tobias Brunner committed 2018-11-21 14:37:56 +01:00
1 parent 187ab29849
commit ff97733163
1 file changed
+4 -4
+4 -4
View File
@@ -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