<commit_before>machine:
  xcode:
    version: "7.3"
dependencies:
  override:
    - if [ ! -f /usr/local/bin/scan-build ]; then curl http://clang-analyzer.llvm.org/downloads/checker-276.tar.bz2 -o /usr/local/Cellar/checker-276.bz2; cd /usr/local/Cellar/; tar -jxvf checker-276.bz2; ln -s /usr/local/Cellar/checker-276/scan-build /usr/local/bin/scan-build; rm checker-276.bz2; fi
test:
  override:
    - set -o pipefail && xcodebuild -destination 'platform=iOS Simulator,name=iPhone 6,OS=latest' -sdk iphonesimulator -scheme "OSLocationTestHost" test | tee $CIRCLE_ARTIFACTS/xcodebuild.log | xcpretty --report html --output $CIRCLE_TEST_REPORTS/results.html --report junit --output $CIRCLE_TEST_REPORTS/results.xml
    - scan-build --status-bugs --use-analyzer=Xcode -o $CIRCLE_ARTIFACTS/analysis xcodebuild -project OSLocationService.xcodeproj -scheme OSLocationService -sdk iphonesimulator clean analyze
  post:
    - bundle exec slather<commit_msg>Run bundle install<commit_after>machine:
  xcode:
    version: "7.3"
dependencies:
  override:
    - bundle install
    - if [ ! -f /usr/local/bin/scan-build ]; then curl http://clang-analyzer.llvm.org/downloads/checker-276.tar.bz2 -o /usr/local/Cellar/checker-276.bz2; cd /usr/local/Cellar/; tar -jxvf checker-276.bz2; ln -s /usr/local/Cellar/checker-276/scan-build /usr/local/bin/scan-build; rm checker-276.bz2; fi
test:
  override:
    - set -o pipefail && xcodebuild -destination 'platform=iOS Simulator,name=iPhone 6,OS=latest' -sdk iphonesimulator -scheme "OSLocationTestHost" test | tee $CIRCLE_ARTIFACTS/xcodebuild.log | xcpretty --report html --output $CIRCLE_TEST_REPORTS/results.html --report junit --output $CIRCLE_TEST_REPORTS/results.xml
    - scan-build --status-bugs --use-analyzer=Xcode -o $CIRCLE_ARTIFACTS/analysis xcodebuild -project OSLocationService.xcodeproj -scheme OSLocationService -sdk iphonesimulator clean analyze
  post:
    - bundle exec slather
{'fraction_non_alphanumeric': 0.1272066458982347, 'fraction_numerical': 0.02284527518172378, 'mean_word_length': 3.979328165374677, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1908618', 'n_tokens_mistral': 734, 'n_tokens_neox': 691, 'n_words': 143}