Browse Source

Fix test_node

pull/8111/head
Wei Zhu 7 years ago
parent
commit
11f91bd451
  1. 10
      scripts/travis-script.sh

10
scripts/travis-script.sh

@ -11,6 +11,14 @@ run_test() {
fi
}
run_test_node() {
if [ "$REACT" != 16 ]; then
npm run test-node -- -w 2 -u
else
npm run test-node -- -w 2
fi
}
if [ "$TEST_TYPE" = lint ]; then
npm run lint
elif [ "$TEST_TYPE" = test:dist ]; then
@ -30,5 +38,5 @@ elif [ "$TEST_TYPE" = test:dom ]; then
bash <(curl -s https://codecov.io/bash)
fi
elif [ "$TEST_TYPE" = test:node ]; then
npm run test-node -- -w 2 -u
run_test_node
fi

Loading…
Cancel
Save