language: objective-c
install: gem install xcpretty --no-rdoc --no-ri --no-document --quiet
script: xcodebuild test -project XCDYouTubeVideoPlayerViewController.xcodeproj -scheme XCDYouTubeVideoPlayerViewController -destination 'platform=iOS Simulator,name=iPhone Retina (4-inch)' | xcpretty -c; exit ${PIPESTATUS[0]}

language: objective-c
install: gem install xcpretty --no-rdoc --no-ri --no-document --quiet
script: set -o pipefail && xcodebuild test -project XCDYouTubeVideoPlayerViewController.xcodeproj -scheme XCDYouTubeVideoPlayerViewController -destination 'platform=iOS Simulator,name=iPhone Retina (4-inch)' | xcpretty -c

Use `set -o pipefail` for xcodebuild + xcpretty
Use `set -o pipefail` for xcodebuild + xcpretty
