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
2018-11-21 14:37:56 +01:00
parent 187ab29849
commit ff97733163
+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