1
0
Fork 0
docsearch/scripts/test-ci
Vincent Voyer 3c98ea5882 chore(stack update): update the whole docsearch stack (#173)
* chore(stack update): update the whole docsearch stack

In an effort to reduce our stack diversity I am moving docsearch to:
- latest eslint
- prettier
- webpack 2
- babel 6 (babel 7 is soon to be released, we were on babel 5)
- babel-preset-env (support: IE >=9, Two latest version of evergreen
browsers).
- jest

* chore(contrib): remove develop branch, cc @redox
2017-03-17 16:22:00 +01:00

12 lines
250 B
Bash
Executable file

#!/usr/bin/env bash
set -ev # exit when error
npm run test
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