language: swift
osx_image: xcode9
xcode_project: Resource.xcodeproj
xcode_scheme: Tests
branches:
  only:
    - master

language: swift
osx_image: xcode8.3
branches:
  only:
    - master
env:
  global:
    - SDK="iphonesimulator"
  matrix:
    - DESTINATION="OS=10.3.1,name=iPhone 7" MODE="test" CONFIGURATION="Debug" SCHEME="Tests"
    - DESTINATION="OS=10.3.1,name=iPhone 7 Plus" MODE="build" CONFIGURATION="Release" SCHEME="Resource"
    - DESTINATION="OS=10.3.1,name=iPad Pro (9.7-inch)" MODE="test" CONFIGURATION="Debug" SCHEME="Tests"
    - DESTINATION="OS=10.3.1,name=iPad Pro (12.9-inch)" MODE="build" CONFIGURATION="Release" SCHEME="Resource"
script:
  - set -o pipefail
  - xcodebuild "$MODE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration "$CONFIGURATION" | xcpretty

Revert "Use xctool to tests"
Revert "Use xctool to tests"

This reverts commit 957c00df7504358905181b92bce3908614560983.
