Ensure Travis detects build status correctly

This commit is contained in:
Andrew Naylor 2015-12-31 01:40:52 +00:00
parent cfb4d87e0d
commit 38e2ba7ffe

View file

@ -11,11 +11,11 @@ main() {
}
build() {
xcodebuild -project "mas-cli.xcodeproj" -scheme mas-cli -configuration Release clean build | xcpretty -c
set -o pipefail && xcodebuild -project "mas-cli.xcodeproj" -scheme mas-cli -configuration Release clean build | xcpretty -c
}
archive() {
xcodebuild -project "mas-cli.xcodeproj" -scheme mas-cli -archivePath mas.xcarchive archive | xcpretty -c
set -o pipefail && xcodebuild -project "mas-cli.xcodeproj" -scheme mas-cli -archivePath mas.xcarchive archive | xcpretty -c
}
main