diff --git a/ci/coverage.sh b/ci/coverage.sh index 9885ee94f6..3b53db675d 100755 --- a/ci/coverage.sh +++ b/ci/coverage.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -e + if [[ "$TRAVIS_OS_NAME" = "osx" ]]; then # Only publish coverage on the macOS yarn agent if [[ "$NODE_INSTALLER" = "yarn" ]]; then cat coverage/lcov.info | node node_modules/coveralls/bin/coveralls.js; fi diff --git a/ci/docker.sh b/ci/docker.sh index cf5fa6a172..23d6b1c0f2 100755 --- a/ci/docker.sh +++ b/ci/docker.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -e + NODE_INSTALLER="$1" npm i -g yarn diff --git a/ci/script.sh b/ci/script.sh index cdf59b24bc..90ea9ec3a7 100755 --- a/ci/script.sh +++ b/ci/script.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -e + if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then sudo docker run --privileged --interactive --tty --volume $(pwd):/code malept/electron-forge-container:latest /code/ci/docker.sh $NODE_INSTALLER else