Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c6b8ce0

Browse files
rkirovjbdeboer
authored andcommittedAug 27, 2014
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 e1607ce commit c6b8ce0

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)
This repository has been archived.