Shellcheck ci scripts, add a small .editorconfig (#186)

* Shellcheck ci/script.sh

* Shellcheck ci/install.sh, simplify script a bit

* Add .editorconfig for ci/*.sh

* Shellcheck ci/before_deploy.sh
This commit is contained in:
Oleksii Filonenko
2019-08-13 21:55:31 +03:00
committed by Roey Darwish Dror
parent bfbf7039e2
commit 7cfdc69b63
4 changed files with 35 additions and 41 deletions

View File

@@ -7,9 +7,9 @@ main() {
cargo fmt --all -- --check
cross clippy --all-targets -- -D warnings
cross clippy --all-targets --all-features -- -D warnings
cross check --target $TARGET --release --all-features
cross check --target "$TARGET" --release --all-features
if [ ! -z $DISABLE_TESTS ]; then
if [ -n "$DISABLE_TESTS" ]; then
return
fi
@@ -17,6 +17,6 @@ main() {
}
# we don't run the "test phase" when doing deploys
if [ -z $TRAVIS_TAG ]; then
if [ -z "$TRAVIS_TAG" ]; then
main
fi