Skip to content

Commit

Permalink
chore: ensure failures on CI actually fail CI
Browse files Browse the repository at this point in the history
ISSUES CLOSED: #530
  • Loading branch information
MarshallOfSound committed Jul 13, 2018
1 parent 8ccff56 commit 91ede6f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 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
Expand Down
2 changes: 2 additions & 0 deletions ci/docker.sh
@@ -1,5 +1,7 @@
#!/bin/bash

set -e

NODE_INSTALLER="$1"

npm i -g yarn
Expand Down
2 changes: 2 additions & 0 deletions 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
Expand Down

0 comments on commit 91ede6f

Please sign in to comment.