language: objective-c
cache: cocoapods
#before_install:
#- pod repo --silent update

xcode_workspace: Swindler.xcworkspace
xcode_scheme: Swindler

script: xcodebuild -workspace Swindler.xcworkspace -scheme Swindler build test

language: objective-c
cache: cocoapods
install: pod install || pod install --repo-update

xcode_workspace: Swindler.xcworkspace
xcode_scheme: Swindler

script: xcodebuild -workspace Swindler.xcworkspace -scheme Swindler build test

Update repo if initial pod install fails
Travis: Update repo if initial pod install fails
