<commit_before>language: objective-c
osx_image: xcode8.3
env:
  global:
  - PROJECT="ISO3166_1Alpha2.xcodeproj"
  - IOS_SCHEME="ISO3166_1Alpha2"
  - IOS_SDK=iphonesimulator10.3
  matrix:
  - DESTINATION="OS=10.0,name=iPhone 6s" SDK="$IOS_SDK" SCHEME="$IOS_SCHEME" RUN_TESTS="YES"
  - DESTINATION="OS=10.1,name=iPhone 7"  SDK="$IOS_SDK" SCHEME="$IOS_SCHEME" RUN_TESTS="YES"

before_install:
- brew install carthage || brew outdated carthage || brew upgrade carthage

install:
- carthage bootstrap

notifications:
  slack:
   rooms:
      secure: <KEY>

script:
- set -o pipefail
- if [ $RUN_TESTS == "YES" ]; then
    xcodebuild analyze test -project "$PROJECT" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO | xcpretty -c;
 else <commit_msg>travis yml update<commit_after>language: objective-c
osx_image: xcode9.2

env:
- PROJECT=ISO3166_1Alpha2.xcodeproj DESTINATION="OS=10.0,name=iPhone 6s" SDK=iphonesimulator11.2 SCHEME=ISO3166_1Alpha2 RUN_TESTS="YES"
- PROJECT=ISO3166_1Alpha2.xcodeproj DESTINATION="OS=10.1,name=iPhone 7"  SDK=iphonesimulator11.2 SCHEME=ISO3166_1Alpha2 RUN_TESTS="YES"
- PROJECT=ISO3166_1Alpha2.xcodeproj DESTINATION="OS=11.1,name=iPhone 7"  SDK=iphonesimulator11.2 SCHEME=ISO3166_1Alpha2 RUN_TESTS="YES"
- PROJECT=ISO3166_1Alpha2.xcodeproj DESTINATION="OS=11.2,name=iPhone 8"  SDK=iphonesimulator11.2 SCHEME=ISO3166_1Alpha2 RUN_TESTS="YES"

before_install:
- brew install carthage || brew outdated carthage || brew upgrade carthage

install:
- carthage bootstrap

notifications:
  slack:
   rooms:
      secure: <KEY>+AaDldI=

script:
- set -o pipefail
- if [ $RUN_TESTS == "YES" ]; then
    xcodebuild analyze test -project "$PROJECT" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO | xcpretty -c;
 else 
{'fraction_non_alphanumeric': 0.12221041445270989, 'fraction_numerical': 0.05472901168969182, 'mean_word_length': 5.749103942652329, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '5056993', 'n_tokens_mistral': 826, 'n_tokens_neox': 759, 'n_words': 139}