travis: Run long-running tests first to reduce overall build time

Moving the manual matrix inclusions further up would be even better but
that doesn't seem possible.
This commit is contained in:
Tobias Brunner
2018-09-21 11:03:47 +02:00
parent 231c087e3c
commit 64d88efac5
+14 -14
View File
@@ -33,6 +33,9 @@ env:
- LEAK_DETECTIVE=no - LEAK_DETECTIVE=no
- MONOLITHIC=no - MONOLITHIC=no
matrix: matrix:
- TEST=all
- TEST=all MONOLITHIC=yes
- TEST=all LEAK_DETECTIVE=yes
- TEST=default - TEST=default
- TEST=default MONOLITHIC=yes - TEST=default MONOLITHIC=yes
- TEST=default LEAK_DETECTIVE=yes - TEST=default LEAK_DETECTIVE=yes
@@ -45,18 +48,12 @@ env:
# we can't test Vstr as negative int args are not properly passed to CBs # we can't test Vstr as negative int args are not properly passed to CBs
- TEST=printf-builtin - TEST=printf-builtin
- TEST=printf-builtin LEAK_DETECTIVE=yes - TEST=printf-builtin LEAK_DETECTIVE=yes
- TEST=all
- TEST=all MONOLITHIC=yes
- TEST=all LEAK_DETECTIVE=yes
matrix: matrix:
include: include:
- compiler: gcc - compiler: clang
env: TEST=dist os: osx
- compiler: gcc env: TEST=osx
env: TEST=apidoc
- compiler: gcc
env: TEST=coverage
- compiler: gcc - compiler: gcc
env: TEST=sonarcloud env: TEST=sonarcloud
git: git:
@@ -64,6 +61,14 @@ matrix:
addons: addons:
sonarcloud: sonarcloud:
organization: "strongswan" organization: "strongswan"
- compiler: gcc
env: TEST=coverage
- compiler: clang
env: TEST=fuzzing MONOLITHIC=yes
- compiler: gcc
env: TEST=dist
- compiler: gcc
env: TEST=apidoc
- compiler: gcc - compiler: gcc
env: TEST=win64 MONOLITHIC=yes env: TEST=win64 MONOLITHIC=yes
# this does not work on 14.04 due to a missing @4 decoration for # this does not work on 14.04 due to a missing @4 decoration for
@@ -71,8 +76,3 @@ matrix:
- compiler: gcc - compiler: gcc
env: TEST=win32 MONOLITHIC=yes env: TEST=win32 MONOLITHIC=yes
dist: precise dist: precise
- compiler: clang
env: TEST=fuzzing MONOLITHIC=yes
- compiler: clang
os: osx
env: TEST=osx