language: objective-c
osx_image: xcode8.2
env:
  global:
    - LC_CTYPE=en_US.UTF-8
    - LANG=en_US.UTF-8
    - WORKSPACE=ReactiveAlamofire.xcworkspace
    - IOS_FRAMEWORK_SCHEME="ReactiveAlamofire-iOS"
    - IOS_SDK=iphonesimulator10.2
  matrix:
    - DESTINATION="OS=8.4,name=iPhone 6"           SCHEME="$IOS_FRAMEWORK_SCHEME"     SDK="$IOS_SDK"
    - DESTINATION="OS=9.2,name=iPhone 6S Plus"     SCHEME="$IOS_FRAMEWORK_SCHEME"     SDK="$IOS_SDK"
    - DESTINATION="OS=10.2,name=iPhone 6S"         SCHEME="$IOS_FRAMEWORK_SCHEME"     SDK="$IOS_SDK"

before_install:
  - brew outdated xctool || brew upgrade xctool
  - carthage bootstrap --platform iOS

script:
  - set -o pipefail && xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO test | xcpretty -c;

language: objective-c
osx_image: xcode8.2
env:
  global:
    - LC_CTYPE=en_US.UTF-8
    - LANG=en_US.UTF-8
    - WORKSPACE=ReactiveAlamofire.xcworkspace
    - IOS_FRAMEWORK_SCHEME="ReactiveAlamofire-iOS"
    - IOS_SDK=iphonesimulator10.2
  matrix:
    - DESTINATION="OS=8.4,name=iPhone 6"           SCHEME="$IOS_FRAMEWORK_SCHEME"     SDK="$IOS_SDK"
    - DESTINATION="OS=9.2,name=iPhone 6S Plus"     SCHEME="$IOS_FRAMEWORK_SCHEME"     SDK="$IOS_SDK"

before_install:
  - brew outdated xctool || brew upgrade xctool
  - carthage bootstrap --platform iOS

script:
  - set -o pipefail && xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO test | xcpretty -c;

Remove iOS 10 testing for now
Remove iOS 10 testing for now
