Skip to content

Commit

Permalink
Fail the build if any command fails
Browse files Browse the repository at this point in the history
  • Loading branch information
1ec5 committed Nov 5, 2020
1 parent bc99b17 commit fae3361
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -euo pipefail

if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
xcodebuild $ACTION -project Polyline.xcodeproj -scheme "$SCHEME" -destination "$DESTINATION" ONLY_ACTIVE_ARCH=NO
swift build
Expand Down

0 comments on commit fae3361

Please sign in to comment.