#!/usr/bin/env bash

set -e

xcodebuild -workspace EmonCMSiOS.xcworkspace -scheme EmonCMSiOS -sdk iphonesimulator -destination "name=iPhone SE" test | xcpretty

#!/usr/bin/env bash

set -e

xcodebuild -workspace EmonCMSiOS.xcworkspace -scheme EmonCMSiOS -sdk iphonesimulator -destination "name=iPhone SE" test | xcpretty && exit ${PIPESTATUS[0]}

Make sure the exit code is correct
Make sure the exit code is correct
