<commit_before>language: objective-c
osx_image: xcode8.3
sudo: false

# Only do a shallow clone of our Git repo.
# https://docs.travis-ci.com/user/customizing-the-build#Git-Clone-Depth
git:
  depth: 3

# Only fire off builds for specific branches.
branches:
  only:
    - develop
    - stable
    - /^feature-.*$/

env:
  global:
  - LC_CTYPE=en_US.UTF-8
  - LANG=en_US.UTF-8
  matrix:
    - DESTINATION="platform=iOS Simulator,name=iPhone 7,OS=10.3.1" SDK="iphonesimulator10.3.1"
    # The iPhone 5 was chosen because it is a 32-bit device.
    # 8.1 was chosen because it is the earliest iOS offered here.
    - DESTINATION="platform=iOS Simulator,name=iPhone 5,OS=8.1" SDK="iphonesimulator8.1"
    # The iPad Pro 12.9 was chosen because it is the largest resolution we can test on.
    # 9.3 was chosen to round out the range of iOS versions we are testing on.
    - DESTINATION="platform=iOS Simulator,name=iPad Pro (12.9-inch),OS=9.3" SDK="iphonesimulator9.3"

before_install:
  - gem install xcpretty --no-rdoc --no-ri --no-document --quiet
  - scripts/install_contributor_tools

# The travis_wait prefix ensures that the build doesn't error out because too much time went past
# without any output being produced.
#
# Note that we only test unit tests in an attempt to get reasonable performance out of Travis CI.
script:
  - set -o pipefail
  - xcodebuild -version
  - xcodebuild -showsdks
  - pod --version
  - scripts/prep_all
  - travis_wait scripts/build_all --verbose
  - travis_wait scripts/test_all catalog/MDCCatalog.xcworkspace:MDCUnitTests

# Upload our testing coverage to codecov.io.
after_success:
  - bash <(curl -s https://codecov.io/bash)<commit_msg>Stop installing contributor tools for CI builds (#1804)<commit_after>language: objective-c
osx_image: xcode8.3
sudo: false

# Only do a shallow clone of our Git repo.
# https://docs.travis-ci.com/user/customizing-the-build#Git-Clone-Depth
git:
  depth: 3

# Only fire off builds for specific branches.
branches:
  only:
    - develop
    - stable
    - /^feature-.*$/

env:
  global:
  - LC_CTYPE=en_US.UTF-8
  - LANG=en_US.UTF-8
  matrix:
    - DESTINATION="platform=iOS Simulator,name=iPhone 7,OS=10.3.1" SDK="iphonesimulator10.3.1"
    # The iPhone 5 was chosen because it is a 32-bit device.
    # 8.1 was chosen because it is the earliest iOS offered here.
    - DESTINATION="platform=iOS Simulator,name=iPhone 5,OS=8.1" SDK="iphonesimulator8.1"
    # The iPad Pro 12.9 was chosen because it is the largest resolution we can test on.
    # 9.3 was chosen to round out the range of iOS versions we are testing on.
    - DESTINATION="platform=iOS Simulator,name=iPad Pro (12.9-inch),OS=9.3" SDK="iphonesimulator9.3"

before_install:
  - gem install xcpretty --no-rdoc --no-ri --no-document --quiet

# The travis_wait prefix ensures that the build doesn't error out because too much time went past
# without any output being produced.
#
# Note that we only test unit tests in an attempt to get reasonable performance out of Travis CI.
script:
  - set -o pipefail
  - xcodebuild -version
  - xcodebuild -showsdks
  - pod --version
  - scripts/prep_all
  - travis_wait scripts/build_all --verbose
  - travis_wait scripts/test_all catalog/MDCCatalog.xcworkspace:MDCUnitTests

# Upload our testing coverage to codecov.io.
after_success:
  - bash <(curl -s https://codecov.io/bash)
{'fraction_non_alphanumeric': 0.10053699284009547, 'fraction_numerical': 0.022673031026252982, 'mean_word_length': 3.435185185185185, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, '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': '3245766', 'n_tokens_mistral': 1194, 'n_tokens_neox': 1121, 'n_words': 361}