machine:
  xcode:
    version: "7.0"

dependencies:
  override:
    - ./scripts/dependencies.sh

test:
  override:
    - ./scripts/test.sh

deployment:
  release:
    tag: /v[0-9]+(\.[0-9]+)*/
    commands:
      - ./scripts/deploy.sh

machine:
  xcode:
    version: "7.1"

dependencies:
  override:
    - ./scripts/dependencies.sh

test:
  override:
    - ./scripts/test.sh

deployment:
  release:
    tag: /v[0-9]+(\.[0-9]+)*/
    commands:
      - ./scripts/deploy.sh

Use Swift 2.1 on CI
Use Swift 2.1 on CI
