Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit 0720c3c

Browse files
rkirovjbdeboer
authored andcommitted
fix(travis): BUILD_LEADER is not available in build.sh
Replace with check that TRAVIS_JOB_NUMBER ends at .1. Closes #1362 Closes #1393
1 parent bf5d15a commit 0720c3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/travis/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ fi
128128
echo '-------------------------'
129129
echo '-- DOCS: Generate Docs --'
130130
echo '-------------------------'
131-
if [[ $BUILD_LEADER == "YES" ]]; then
131+
if [[ ${TRAVIS_JOB_NUMBER:(-2)} == ".1" ]]; then
132132
echo $NGDART_SCRIPT_DIR/generate-documentation.sh;
133133
$NGDART_SCRIPT_DIR/generate-documentation.sh;
134134
fi

0 commit comments

Comments
 (0)