language: objective-c
osx_image: xcode8
# xcode_sdk: iphonesimulator10.0
# xcode_project: Loop.xcodeproj
# xcode_scheme: Loop
before_script:
#     - carthage bootstrap
script:
    # Build the app target
    - xcodebuild -project Loop.xcodeproj -scheme Loop build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty
    # Run the test target
    - xcodebuild -project Loop.xcodeproj -scheme LoopTests -destination 'name=iPhone SE' test | xcpretty
    - xcodebuild -project Loop.xcodeproj -scheme DoseMathTests -destination 'name=iPhone SE' test | xcpretty

language: objective-c
osx_image: xcode8.1
# xcode_sdk: iphonesimulator10.0
# xcode_project: Loop.xcodeproj
# xcode_scheme: Loop
before_script:
#     - carthage bootstrap
script:
    # Build the app target
    - xcodebuild -project Loop.xcodeproj -scheme Loop build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty
    # Run the test target
    - xcodebuild -project Loop.xcodeproj -scheme LoopTests -destination 'name=iPhone SE' test | xcpretty
    - xcodebuild -project Loop.xcodeproj -scheme DoseMathTests -destination 'name=iPhone SE' test | xcpretty

Update osx_image to xcode8.1 to get Swift 3.0.1
Update osx_image to xcode8.1 to get Swift 3.0.1
