machine:
  xcode:
    version: 9.1
  environment:
    LANG: en_US.UTF-8

dependencies:
  override:
    - echo "Skipping CocoaPods Specs install."

test:
  override:
    - set -o pipefail
    - xcodebuild test -scheme 'RxAlamofireTests' -workspace 'RxAlamofire/RxAlamofire.xcworkspace' -sdk iphonesimulator -destination "name=iPhone 8" | xcpretty -c
machine:
  xcode:
    version: 9.1
  environment:
    LANG: en_US.UTF-8

dependencies:
  override:
    - echo "Skipping CocoaPods Specs install."

test:
  override:
    - set -o pipefail
    - xcodebuild test -scheme 'RxAlamofireTests' -workspace 'RxAlamofire/RxAlamofire.xcworkspace' -sdk iphonesimulator -destination "name=iPhone 8" | xcpretty -c
    
deployment:
  release:
    tag: /[0-9]+(\.[0-9]+)*/
    commands:
      - pod setup
      - rm ~/.cocoapods/config.yaml # This hack is needed since CircleCI forces --verbose
      - pod trunk push --skip-tests --allow-warnings

Add auto-deploy mechanism for new tags in Circle CI
Add auto-deploy mechanism for new tags in Circle CI