Use /bin/sh -e
This commit is contained in:
parent
f70f2977ab
commit
06aeba9d76
1 changed files with 6 additions and 4 deletions
10
travis.sh
10
travis.sh
|
|
@ -1,7 +1,9 @@
|
||||||
#!/bin/sh
|
#!/bin/sh -e
|
||||||
yarn lint && for conf in $(ls config/); do
|
yarn lint
|
||||||
|
for conf in $(ls config/); do
|
||||||
if [ $conf == "utils.js" ]; then
|
if [ $conf == "utils.js" ]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
yarn build $conf && yarn production-build $conf
|
yarn build $conf
|
||||||
done || exit 1
|
yarn production-build $conf
|
||||||
|
done
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue