Update .travis.yml - Adding global env variable WORKSPACE to drive script commands - Changing if  statements to single statements. - Changing xcodebuild to build-for-testing and test separately. - Adding set -o pipefail to trap error from xcodebuild command rather than xcpretty.
Update .travis.yml
- Adding global env variable WORKSPACE to drive script commands
- Changing if  statements to single statements.
- Changing xcodebuild to build-for-testing and test separately.
- Adding set -o pipefail to trap error from xcodebuild command rather than xcpretty.

tonystone/tracelog,tonystone/tracelog