<commit_before>language: objective-c
osx_image: xcode7.3

script:
  - xctool -project tun2socks.xcodeproj -scheme "tun2socks-macOS" -sdk macosx10.11 -arch x86_64 build
  - xctool -project tun2socks.xcodeproj -scheme "tun2socks-iOS" -sdk iphoneos9.3 -arch arm64 build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO

after_success:
  - ./docs/build_docs.sh<commit_msg>Set up CI to release tagged version<commit_after>language: objective-c
osx_image: xcode7.3

script:
- xctool -project tun2socks.xcodeproj -scheme "tun2socks-macOS" -sdk macosx10.11 -arch
  x86_64 build
- xctool -project tun2socks.xcodeproj -scheme "tun2socks-iOS" -sdk iphoneos9.3 -arch
  arm64 build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO

after_success:
- "./docs/build_docs.sh"

before_deploy:
- carthage build --no-skip-current
- carthage archive tun2socks lwip

deploy:
  provider: releases
  skip_cleanup: true
  api_key:
    secure: <KEY>
  file: tun2socks.framework.zip
  on:
    repo: zhuhaow/tun2socks
    tags: true
{'fraction_non_alphanumeric': 0.099, 'fraction_numerical': 0.039, 'mean_word_length': 4.352941176470588, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '1240606', 'n_tokens_mistral': 418, 'n_tokens_neox': 407, 'n_words': 86}