1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-10 08:10:18 +00:00
musix-oss/node_modules/snekfetch/scripts/travis-test.sh
MatteZ02 5eb0264906 fix
2019-05-30 12:06:47 +03:00

15 lines
341 B
Bash

set -e
npm run lint
npm run test
if [ "$TRAVIS_BRANCH" != "master" -o -n "$TRAVIS_TAG" -o "$TRAVIS_PULL_REQUEST" != "false" ]; then
echo -e "Not sending coverage for a non master branch push - covering without sending."
exit 0
fi
echo -e "Generating Coverage for a master branch push - covering and sending."
npm run test:coveralls