From 88ece4944b5401905e9bbce06a78d6dbcc186e54 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Tue, 20 Nov 2018 20:11:37 -0500 Subject: [PATCH] ci: do not build docs in main CI job Building docs and running various checks is now being done in another CI job that runs in parallel and reports directly to the PR. Signed-off-by: Anas Nashif --- scripts/ci/run_ci.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/ci/run_ci.sh b/scripts/ci/run_ci.sh index ee8f241f943..54328612854 100755 --- a/scripts/ci/run_ci.sh +++ b/scripts/ci/run_ci.sh @@ -54,6 +54,7 @@ while getopts ":pm:b:r:M:" opt; do done DOC_MATRIX=${MATRIX_BUILDS} + if [ -z "$BRANCH" ]; then echo "No base branch given" exit @@ -137,12 +138,6 @@ else echo "Skipping BT simulator tests" fi -# Build Docs on matrix 5 in a pull request -if [ "${MATRIX}" = "${DOC_MATRIX}" -a -n "${PULL_REQUEST}" ]; then - build_docs - ./scripts/ci/check-compliance.py --commits ${COMMIT_RANGE} || true; -fi - # In a pull-request see if we have changed any tests or board definitions if [ -n "${PULL_REQUEST}" ]; then get_tests_to_run