Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- #!/bin/sh
- echo "Running Node tests"
- PATH=$PATH:/usr/local/bin:/usr/local/sbin
- git stash -q --include-untracked
- git clean -f
- cd Node
- npm run test_without_revert
- RESULT=$?
- npm run revert_test;
- cd ..
- git stash pop -q
- [ $RESULT -ne 0 ] && exit 1
- echo "Node tests OK"
- echo "Running React tests"
- PATH=$PATH:/usr/local/bin:/usr/local/sbin
- git stash -q --include-untracked
- git clean -f
- cd React
- pwd
- npm run lint && npm test
- RESULT=$?
- cd ..
- git stash pop -q
- [ $RESULT -ne 0 ] && exit 1
- echo "React tests OK"
Advertisement
Add Comment
Please, Sign In to add comment