language: objective-c
env:
  global:
  - WORKSPACE=Example/NVActivityIndicatorViewExample.xcworkspace
  - SCHEME=NVActivityIndicatorViewTests
matrix:
  include:
  - osx_image: xcode8.2
    env: SDK="iphonesimulator10.2" DESTINATION="name=iPhone 6s,OS=10.2"
  - osx_image: xcode8.3
    env: SDK="iphonesimulator10.3" DESTINATION="name=iPhone 6s,OS=10.3.1"
script:
  - set -o pipefail
  - pod install --project-directory=Example
  - xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" ONLY_ACTIVE_ARCH=YES clean test | xcpretty -c

language: objective-c
env:
  global:
  - WORKSPACE=Example/NVActivityIndicatorViewExample.xcworkspace
  - SCHEME=NVActivityIndicatorViewTests
matrix:
  include:
  - osx_image: xcode8.2
    env: SDK="iphonesimulator10.2" DESTINATION="name=iPhone 6s,OS=10.2"
  - osx_image: xcode8.3
    env: SDK="iphonesimulator10.3" DESTINATION="name=iPhone 6s,OS=10.3.1"
  - osx_image: xcode9.0
    env: SDK="iphonesimulator11.0" DESTINATION="name=iPhone 6s,OS=11.0"
script:
  - set -o pipefail
  - pod install --project-directory=Example
  - xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" ONLY_ACTIVE_ARCH=YES clean test | xcpretty -c

Update Travis config for Xcode 9
Update Travis config for Xcode 9
