machine:
  xcode:
    version: "8.1"

checkout:
  post:
    - git submodule update --init --recursive

test:
  override:
    - swift test
    - set -o pipefail && xcodebuild -project Bases.xcodeproj -scheme Base16-iOS -destination 'platform=iOS Simulator,name=iPhone 7,OS=10.1' clean build test | xcpretty
    - set -o pipefail && xcodebuild -project Bases.xcodeproj -scheme Base16-Mac clean build test | xcpretty
    - set -o pipefail && xcodebuild -project Bases.xcodeproj -scheme Base32-iOS -destination 'platform=iOS Simulator,name=iPhone 7,OS=10.1' clean build test | xcpretty
    - set -o pipefail && xcodebuild -project Bases.xcodeproj -scheme Base32-Mac clean build test | xcpretty

machine:
  xcode:
    version: "8.1"

checkout:
  post:
    - git submodule update --init --recursive

test:
  override:
    - swift test
    - set -o pipefail && xcodebuild -project Bases.xcodeproj -scheme Base16-iOS -destination 'id=2D96E690-BFB5-44D5-8B22-31D9C57EDADF' clean build test | xcpretty
    - set -o pipefail && xcodebuild -project Bases.xcodeproj -scheme Base16-Mac clean build test | xcpretty
    - set -o pipefail && xcodebuild -project Bases.xcodeproj -scheme Base32-iOS -destination 'id=2D96E690-BFB5-44D5-8B22-31D9C57EDADF' clean build test | xcpretty
    - set -o pipefail && xcodebuild -project Bases.xcodeproj -scheme Base32-Mac clean build test | xcpretty

Use a specific simulator id for iOS builds on Circle CI
Use a specific simulator id for iOS builds on Circle CI
