<commit_before>language: objective-c
osx_image: xcode7.3
sudo: false
env:
  global:
    - FRAMEWORK_NAME=HSAudioPlayer
    - LC_CTYPE=en_US.UTF-8
    - LANG=en_US.UTF-8
    - WORKSPACE=HSAudioPlayer.xcworkspace
    - IOS_FRAMEWORK_SCHEME="HSAudioPlayer"
    - IOS_SDK=iphonesimulator
    - IOS_EXAMPLE_SCHEME="Example"
  matrix:
    - DESTINATION="OS=8.4,name=iPhone 6"
    - DESTINATION="OS=9.3,name=iPhone 5s"

script:
  - set -o pipefail
  # Build Framework and Run Tests
  - xctool -workspace "$WORKSPACE" -scheme "$IOS_FRAMEWORK_SCHEME" -sdk "$IOS_SDK" -destination "$DESTINATION" | xcpretty
  - pod lib lint<commit_msg>Update travis.yml to also build the example project<commit_after>language: objective-c
osx_image: xcode7.3
sudo: false
env:
  global:
    - FRAMEWORK_NAME=HSAudioPlayer
    - LC_CTYPE=en_US.UTF-8
    - LANG=en_US.UTF-8
    - WORKSPACE=HSAudioPlayer.xcworkspace
    - IOS_FRAMEWORK_SCHEME="HSAudioPlayer"
    - IOS_SDK=iphonesimulator
    - IOS_EXAMPLE_SCHEME="Example"
  matrix:
    - DESTINATION="OS=8.4,name=iPhone 6"
    - DESTINATION="OS=9.3,name=iPhone 5s"

script:
  - set -o pipefail
  # Build Framework and Run Tests
  - xctool -workspace "$WORKSPACE" -scheme "$IOS_FRAMEWORK_SCHEME" -sdk "$IOS_SDK" -destination "$DESTINATION"
  - xctool -workspace "$WORKSPACE" -scheme "$IOS_EXAMPLE_SCHEME" -sdk "$IOS_SDK" -destination "$DESTINATION"
  - pod lib lint
{'fraction_non_alphanumeric': 0.1176046176046176, 'fraction_numerical': 0.01443001443001443, 'mean_word_length': 3.8838028169014085, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7335270', 'n_tokens_mistral': 579, 'n_tokens_neox': 559, 'n_words': 98}