diff --git a/appveyor.yml b/appveyor.yml index 9c3a1e2..9be0849 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -29,8 +29,12 @@ test_script: ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2 chmod -R 777 /appveyor/projects npm install - npm run test -- --ignore-only - npm run test:integration -- --ignore-only + if [ ! npm run test -- --ignore-only ]; then + exit 1 + fi + if [ ! npm run test:integration -- --ignore-only ]; then + exit 1 + fi artifacts: - path: ./*_sc-core.7z @@ -64,16 +68,16 @@ on_success: echo "Publishing new version to npm" npm publish fi - - sh: | - YELLOW='\033[0;33m' - NC='\033[0m' - LOCK_FILE="${HOME}/build.lock" - export APPVEYOR_SSH_BLOCK=true - touch "${LOCK_FILE}" - echo -e "Build paused. To resume it, open a bash session to run '${YELLOW}rm \"${LOCK_FILE}\"${NC}' command." - while [ -f "${LOCK_FILE}" ]; do - sleep 1 - done +# - sh: | +# YELLOW='\033[0;33m' +# NC='\033[0m' +# LOCK_FILE="${HOME}/build.lock" +# export APPVEYOR_SSH_BLOCK=true +# touch "${LOCK_FILE}" +# echo -e "Build paused. To resume it, open a bash session to run '${YELLOW}rm \"${LOCK_FILE}\"${NC}' command." +# while [ -f "${LOCK_FILE}" ]; do +# sleep 1 +# done # on build failure on_failure: diff --git a/test/helpers.mjs b/test/helpers.mjs index 5f6b608..4dad88e 100644 --- a/test/helpers.mjs +++ b/test/helpers.mjs @@ -4,9 +4,11 @@ import Util from '../core/util.mjs' export function createFakeLog() { return { + // debug: stub(), info: stub(), warn: stub(), error: stub(), + // fatal: stub(), event: { info: stub(), warn: stub(),