<commit_before>machine:
  xcode:
    version: "6.3.1"
  environment:
    LC_CTYPE: en_US.UTF-8

dependencies:
  override:
    - sudo chown :wheel "/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 7.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim"
    - sudo chown :wheel "/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 8.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim"
    - sudo chown :wheel "/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 8.2.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim"
    - ./script/import-certificates
    - sudo gem install cocoapods xcpretty --no-ri --no-rdoc
    - brew update
    - brew install carthage
    - carthage bootstrap
  cache_directories:
    - "~/Library/Caches/org.carthage.CarthageKit/binaries/"
    - "~/Library/Caches/org.carthage.CarthageKit/dependencies/"

test:
  override:
    - carthage build --no-skip-current
    - pod lib lint
    - set -o pipefail && xcodebuild test -scheme APIKit-iOS | xcpretty -c -r junit -o $CIRCLE_TEST_REPORTS/test-report-ios.xml
    - set -o pipefail && xcodebuild test -scheme APIKit-Mac | xcpretty -c -r junit -o $CIRCLE_TEST_REPORTS/test-report-mac.xml
    - set -o pipefail && xcodebuild build -scheme DemoApp -sdk iphonesimulator | xcpretty -c

deployment:
  master:
    branch: master
    commands:
      - carthage archive APIKit
      - cp APIKit.framework.zip $CIRCLE_ARTIFACTS

<commit_msg>Update circle.yml<commit_after>machine:
  xcode:
    version: "6.3.1"
  environment:
    LC_CTYPE: en_US.UTF-8

dependencies:
  override:
    - sudo chown :wheel /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS\ *.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim
    - ./script/import-certificates
    - sudo gem install cocoapods xcpretty --no-ri --no-rdoc
    - brew update
    - brew install carthage
    - carthage bootstrap --use-submodules --no-use-binaries
  cache_directories:
    - "~/Library/Caches/org.carthage.CarthageKit/binaries/"
    - "~/Library/Caches/org.carthage.CarthageKit/dependencies/"

test:
  override:
    - carthage build --no-skip-current
    - pod lib lint
    - set -o pipefail && xcodebuild -workspace APIKit.xcworkspace test -scheme APIKit-iOS | xcpretty -c -r junit -o $CIRCLE_TEST_REPORTS/test-report-ios.xml
    - set -o pipefail && xcodebuild -workspace APIKit.xcworkspace test -scheme APIKit-Mac | xcpretty -c -r junit -o $CIRCLE_TEST_REPORTS/test-report-mac.xml
    - set -o pipefail && xcodebuild -workspace APIKit.xcworkspace build -scheme DemoApp -sdk iphonesimulator | xcpretty -c

deployment:
  master:
    branch: master
    commands:
      - carthage archive APIKit
      - cp APIKit.framework.zip $CIRCLE_ARTIFACTS

{'fraction_non_alphanumeric': 0.11152005888847995, 'fraction_numerical': 0.005152741994847258, 'mean_word_length': 3.136986301369863, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4682819', 'n_tokens_mistral': 1006, 'n_tokens_neox': 954, 'n_words': 195}