language: objective-c
osx_image: xcode7.3

## Setup

# Travis initializes git submodules before `install` runs

install:
    # - `xctool`, required to build the unit test and documentation targets
    #   Workaround for https://github.com/travis-ci/travis-ci/issues/2051#issuecomment-40817341
    - brew update
    - if brew outdated | grep -qx xctool; then brew upgrade xctool; fi

script:
    - xctool -project AnalyticsKit/AnalyticsKit.xcodeproj -scheme AnalyticsKit -sdk iphonesimulator
    - xctool test -project AnalyticsKit/AnalyticsKit.xcodeproj -scheme AnalyticsKit -sdk iphonesimulator

language: objective-c
osx_image: xcode7.3

## Setup

# Travis initializes git submodules before `install` runs

install:
    # Workaround no longer necessary
    # - `xctool`, required to build the unit test and documentation targets
    #   Workaround for https://github.com/travis-ci/travis-ci/issues/2051#issuecomment-40817341
    # - brew update
    # - if brew outdated | grep -qx xctool; then brew upgrade xctool; fi

script:
    - xctool -project AnalyticsKit/AnalyticsKit.xcodeproj -scheme AnalyticsKit -sdk iphonesimulator
    - xctool test -project AnalyticsKit/AnalyticsKit.xcodeproj -scheme AnalyticsKit -sdk iphonesimulator

Remove brew update phase since it's no longer necessary
Remove brew update phase since it's no longer necessary
