<commit_before># references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage

matrix:
  include:
    - os: linux
      dist: trusty
      sudo: required
      before_install:
        - git clone https://github.com/IBM-Swift/Package-Builder.git
      script: ./Package-Builder/build-package.sh -projectDir $TRAVIS_BUILD_DIR
    - os: osx
      osx_image: xcode9
      sudo: required
      language: objective-c
      podfile: Example/Podfile
      env: TEST_DESTINATION="OS=11.1,name=iPhone 7"
      script:
        - set -o pipefail && xcodebuild test -workspace Example/KDTree.xcworkspace -scheme KDTree_Example ONLY_ACTIVE_ARCH=NO -destination "$TEST_DESTINATION" | xcpretty
    - os: osx
      osx_image: xcode9
      sudo: required
      language: objective-c
      podfile: Example/Podfile
      env: TEST_DESTINATION="OS=9.3,name=iPhone 5"
      install:
        - ./install_swiftlint.sh
      script:
        - set -o pipefail && xcodebuild test -workspace Example/KDTree.xcworkspace -scheme KDTree_Example ONLY_ACTIVE_ARCH=NO -destination "$TEST_DESTINATION" | xcpretty
<commit_msg>xcode 9.1 on travis<commit_after># references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage

matrix:
  include:
    - os: linux
      dist: trusty
      sudo: required
      before_install:
        - git clone https://github.com/IBM-Swift/Package-Builder.git
      script: ./Package-Builder/build-package.sh -projectDir $TRAVIS_BUILD_DIR
    - os: osx
      osx_image: xcode9.1
      sudo: required
      language: objective-c
      podfile: Example/Podfile
      env: TEST_DESTINATION="OS=11.1,name=iPhone 7"
      script:
        - set -o pipefail && xcodebuild test -workspace Example/KDTree.xcworkspace -scheme KDTree_Example ONLY_ACTIVE_ARCH=NO -destination "$TEST_DESTINATION" | xcpretty
    - os: osx
      osx_image: xcode9.1
      sudo: required
      language: objective-c
      podfile: Example/Podfile
      env: TEST_DESTINATION="OS=9.3,name=iPhone 5"
      install:
        - ./install_swiftlint.sh
      script:
        - set -o pipefail && xcodebuild test -workspace Example/KDTree.xcworkspace -scheme KDTree_Example ONLY_ACTIVE_ARCH=NO -destination "$TEST_DESTINATION" | xcpretty

{'fraction_non_alphanumeric': 0.10551663747810858, 'fraction_numerical': 0.010507880910683012, 'mean_word_length': 2.8019966722129785, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1137324', 'n_tokens_mistral': 797, 'n_tokens_neox': 759, 'n_words': 155}