(#5203) - fix rebuild before `npm t`
diff --git a/bin/build-node.sh b/bin/build-node.sh
index 73c82a0..69748a7 100755
--- a/bin/build-node.sh
+++ b/bin/build-node.sh
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 
 # don't bother doing this in travis because it's already been built
-if [ ! -z $TRAVIS ]; then
+if [ -z $TRAVIS ]; then
   BUILD_NODE=1 npm run build-modules
 fi