Skip to content

Commit 1927645

Browse files
authored
only install codepush for deploy builds
1 parent 20a134d commit 1927645

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/travis/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ set -e -v
44
# install packages
55
npm install
66

7-
# install code-push
8-
if [[ $IOS || $ANDROID ]]; then
7+
# install code-push, if we're going to use it
8+
if [[ ( $IOS || $ANDROID ) && $run_deploy == 1 ]]; then
99
npm install -g code-push-cli@latest
1010
code-push login --accessKey "$CODEPUSH_TOKEN"
1111
fi

0 commit comments

Comments
 (0)