10 lines
209 B
Bash
Executable file
10 lines
209 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -ev # exit when error
|
|
|
|
npm run test
|
|
NODE_ENV=production npm run build
|
|
|
|
if [ "$TRAVIS_PULL_REQUEST" == 'false' ] && [ "$TRAVIS_BRANCH" == 'master' ]; then
|
|
./scripts/finish-release
|
|
fi
|