diff --git a/appveyor.yml b/appveyor.yml index 9be0849..d7c0e66 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -29,10 +29,10 @@ 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 - if [ ! npm run test -- --ignore-only ]; then + if npm run test -- --ignore-only; then exit 1 fi - if [ ! npm run test:integration -- --ignore-only ]; then + if npm run test:integration -- --ignore-only; then exit 1 fi @@ -42,7 +42,9 @@ artifacts: # on successful build on_success: - sh: | - if [ ! apk add curl jq ]; then + if apk add curl jq; then + echo "Finished installling curl and jq" + else exit 1 fi CURR_VER=$(cat package.json | jq -r .version)