mirror of
https://github.com/VSCodeVim/Vim.git
synced 2024-10-27 04:29:40 +03:00
fix: immediately exit travis on build error (#2626)
This commit is contained in:
parent
73de6bd152
commit
cb0d3e26c1
@ -35,15 +35,14 @@ before_install:
|
||||
sleep 3;
|
||||
fi
|
||||
|
||||
script:
|
||||
before_script:
|
||||
- npm run build
|
||||
- npm run forceprettier
|
||||
- if [[ $(git diff-index HEAD -- *.js *.ts) ]]; then
|
||||
git diff;
|
||||
echo "Prettier Failed. Run `gulp` or `gulp forceprettier`";
|
||||
exit 1;
|
||||
fi
|
||||
- npm run build
|
||||
- npm test --silent;
|
||||
|
||||
before_deploy:
|
||||
- npm install -g vsce;
|
||||
|
Loading…
Reference in New Issue
Block a user