1
0
Fork 0
docsearch/scripts/test-ci
2017-09-11 21:15:57 +02:00

11 lines
240 B
Bash
Executable file

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