UNPKG

341 Bapplication/x-shView Raw
1set -e
2
3npm run lint
4
5npm run test
6
7if [ "$TRAVIS_BRANCH" != "master" -o -n "$TRAVIS_TAG" -o "$TRAVIS_PULL_REQUEST" != "false" ]; then
8 echo -e "Not sending coverage for a non master branch push - covering without sending."
9 exit 0
10fi
11
12echo -e "Generating Coverage for a master branch push - covering and sending."
13
14npm run test:coveralls