1
0
Fork 0
docsearch/scripts/test-ci
2016-06-10 16:21:13 +02:00

13 lines
297 B
Bash
Executable file

#!/usr/bin/env bash
set -ev # exit when error
./scripts/validate-pr-done-on-develop
npm run test:coverage
npm prune
NODE_ENV=production npm run build
./scripts/validate-commit-msgs
if [ "$TRAVIS_PULL_REQUEST" == 'false' ] && [ "$TRAVIS_BRANCH" == 'master' ]; then
./scripts/finish-release
fi