machine:
  xcode:
    version: "7.0"
dependencies:
  pre:
    - rm -rf Example/Podfile.lock
    - rm -rf Example/Pods/
  post:
    - bundle exec pod install --project-directory=Example
test:
  override:
    - set -o pipefail &&
      xcodebuild
        CODE_SIGNING_REQUIRED=NO
        CODE_SIGN_IDENTITY=
        PROVISIONING_PROFILE=
        -sdk iphonesimulator
        -destination 'platform=iOS Simulator,OS=9.0,name=iPhone 6'
        -workspace Example/RxViewModel.xcworkspace
        -scheme "RxViewModel_Tests"
        clean build test |
      tee $CIRCLE_ARTIFACTS/xcode_raw.log |
      xcpretty --color --report junit --output $CIRCLE_TEST_REPORTS/xcode/results.xml
  post:
    - pip install codecov
    - codecov --token=$CodeCovToken


machine:
  xcode:
    version: "7.0"
dependencies:
  pre:
    - rm -rf Example/Podfile.lock
    - rm -rf Example/Pods/
  post:
    - bundle exec pod install --project-directory=Example
test:
  override:
    - set -o pipefail &&
      xcodebuild
        CODE_SIGNING_REQUIRED=NO
        CODE_SIGN_IDENTITY=
        PROVISIONING_PROFILE=
        -sdk iphonesimulator
        -destination 'platform=iOS Simulator,OS=9.0,name=iPhone 6'
        -workspace Example/RxViewModel.xcworkspace
        -scheme "RxViewModel_Tests"
        clean build test |
      tee $CIRCLE_ARTIFACTS/xcode_raw.log |
      xcpretty --color --report junit --output $CIRCLE_TEST_REPORTS/xcode/results.xml
  post:
    - pip install codecov --user
    - codecov --token=$CodeCovToken


Install at the user level
Install at the user level
