language: objective-c
osx_image: xcode8
script:
  - xcodebuild test -scheme Ampere -sdk iphonesimulator -destination "name=iPhone 6s" | xcpretty && exit ${PIPESTATUS[0]}

language: objective-c
osx_image: xcode8
script:
  # The pipefail option sets the exit status to the last commond with a non-zero status code, which would usually be xcodebuild
  - set -o pipefail && xcodebuild test -scheme Ampere -sdk iphonesimulator -destination "name=iPhone 6s" | xcpretty

Use pipefail option on Travis CI command
Use pipefail option on Travis CI command
