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 <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2018-11-20 20:11:37 -05:00
parent f114a1383d
commit 88ece4944b

View File

@ -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