summaryrefslogtreecommitdiff
path: root/.ci/ci-make-check.sh
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2019-12-12 11:05:16 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-12-18 09:16:03 +0100
commit0ed64caa360db326d6dae041701e92633498bec6 (patch)
treedb9d85e6f8695caf140ac704a86c8ac16443c1ea /.ci/ci-make-check.sh
parentaf040650675fdd4c8bb56e6ef0390d32e21d88fd (diff)
ci: refactor the early exit on specific build jobs
Should be no functional change only making all early checks a bit shorter. Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com> Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10866
Diffstat (limited to '.ci/ci-make-check.sh')
-rwxr-xr-x.ci/ci-make-check.sh16
1 files changed, 2 insertions, 14 deletions
diff --git a/.ci/ci-make-check.sh b/.ci/ci-make-check.sh
index 682d613544..44f5f2bf90 100755
--- a/.ci/ci-make-check.sh
+++ b/.ci/ci-make-check.sh
@@ -1,25 +1,13 @@
1#!/bin/sh 1#!/bin/sh
2 2
3set -e
3. .ci/travis.sh 4. .ci/travis.sh
4if [ "$1" = "release-ready" ] ; then
5 exit 0
6fi
7
8if [ "$1" = "mingw" ] ; then
9 exit 0
10fi
11 5
12if [ "$1" = "coverity" ] ; then 6if [ "$1" = "release-ready" ] || [ "$1" = "mingw" ] || [ "$1" = "coverity" ] || [ "$1" = "options-enabled" ] || [ "$1" = "options-disabled" ]; then
13 exit 0
14fi
15
16#T7151
17if [ "$1" = "options-enabled" ] || [ "$1" = "options-disabled" ] ; then
18 exit 0 7 exit 0
19fi 8fi
20 9
21NUM_TRIES=5 10NUM_TRIES=5
22
23travis_fold check "ninja test" 11travis_fold check "ninja test"
24if [ "$DISTRO" != "" ] ; then 12if [ "$DISTRO" != "" ] ; then
25 for tries in $(seq 1 ${NUM_TRIES}); do 13 for tries in $(seq 1 ${NUM_TRIES}); do