<commit_before># see: http://lint.travis-ci.org

language: cpp

before_cache:
- rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -rf $HOME/.gradle/caches/*/plugin-resolution/

before_install:
- echo before_install
- brew update
- brew install aria2 bash
# see: https://caskroom.github.io/
- brew tap caskroom/cask
#- brew cask install android-sdk
- brew cask install android-ndk
- ls -l /usr/local/opt/android-ndk/
- curl https://sh.rustup.rs -sSf | sh -s -- -y
#- ls -l $HOME/.cargo/bin
#- rustup target list
#- export PATH="$PATH:$HOME/.cargo/bin"
#- echo PATH=$PATH
#- rustup toolchain install stable-x86_64-apple-darwin
#- rustup target add i686-apple-darwin
#- rustup target add aarch64-linux-android
#- rustup target add arm-linux-androideabi
#- rustup target add armv7-linux-androideabi
#- rustup target add i686-linux-android
#- rustup target add aarch64-apple-ios
#- rustup target add armv7-apple-ios
#- rustup target add armv7s-apple-ios
#- rustup target add i386-apple-ios
#- rustup target add x86_64-apple-ios

branches:
  only:
  - master
  - /^release\/.*$/
  - /^v\d+\.\d+(\.\d+)?(-\S*)?/

cache:
  directories:
  - $HOME/.cargo
  - $HOME/.gradle/caches/
  - $HOME/.gradle/wrapper/
  - $HOME/.android/build-cache
  - $HOME/Library/Caches/Homebrew

env:
  global:
  - LIB_NAME="openssl-1.1.0c"
  - RUST_IOS_ARCHS="aarch64 armv7 armv7s i386 x86_64"
  - RUST_AND_ARCHS="aarch64 armv7 arm i686"
  matrix:
  - AND_ARCHS="android" IOS_ARCHS=""
  - AND_ARCHS="android-armeabi" IOS_ARCHS=""
  #- AND_ARCHS="android-mips" IOS_ARCHS=""
  - AND_ARCHS="android-x86" IOS_ARCHS=""
  - AND_ARCHS="android64" IOS_ARCHS=""
  - AND_ARCHS="android64-aarch64" IOS_ARCHS=""
  - AND_ARCHS="" IOS_ARCHS="arm64"
  - AND_ARCHS="" IOS_ARCHS="armv7s"
  - AND_ARCHS="" IOS_ARCHS="armv7"
  - AND_ARCHS="" IOS_ARCHS="i386"
  - AND_ARCHS="" IOS_ARCHS="x86_64"

install: true

#matrix:
#  exclude:

os:
- osx

osx_image: xcode8.3

script:
- echo script
- export PATH="$PATH:$HOME/.cargo/bin"
- cd scripts; bash build.sh
- pwd
- ls -l ../target/
#- cargo build --target=arm-linux-androideabi

before_deploy:
- export RELEASE_PKG_FILE=$(ls target/*.tar.gz)
- echo "deploying $RELEASE_PKG_FILE to GitHub releases"
deploy:
  provider: releases
  api_key: $GITHUB_GIT_SERVICE_TOKEN
  file_glob: true
  #file: target/openssl-1.1.0c-*.tar.gz
  file: "${RELEASE_PKG_FILE}"
  skip_cleanup: true
  on:
    tags: true
after_deploy:
- echo "deploy $RELEASE_PKG_FILE done"<commit_msg>fix .travis.yml<commit_after># see: http://lint.travis-ci.org

language: cpp

before_cache:
- rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -rf $HOME/.gradle/caches/*/plugin-resolution/

before_install:
- echo before_install
- brew update
- brew install aria2 bash
# see: https://caskroom.github.io/
- brew tap caskroom/cask
#- brew cask install android-sdk
- brew cask install android-ndk
- ls -l /usr/local/opt/android-ndk/
- curl https://sh.rustup.rs -sSf | sh -s -- -y
#- ls -l $HOME/.cargo/bin
#- rustup target list
#- export PATH="$PATH:$HOME/.cargo/bin"
#- echo PATH=$PATH
#- rustup toolchain install stable-x86_64-apple-darwin
#- rustup target add i686-apple-darwin
#- rustup target add aarch64-linux-android
#- rustup target add arm-linux-androideabi
#- rustup target add armv7-linux-androideabi
#- rustup target add i686-linux-android
#- rustup target add aarch64-apple-ios
#- rustup target add armv7-apple-ios
#- rustup target add armv7s-apple-ios
#- rustup target add i386-apple-ios
#- rustup target add x86_64-apple-ios

branches:
  only:
  - master
  - /^release\/.*$/
  - /^v\d+\.\d+(\.\d+)?(-\S*)?/

cache:
  directories:
  - $HOME/.cargo
  - $HOME/.gradle/caches/
  - $HOME/.gradle/wrapper/
  - $HOME/.android/build-cache
  - $HOME/Library/Caches/Homebrew

env:
  global:
  - LIB_NAME="openssl-1.1.0c"
  - RUST_IOS_ARCHS="aarch64 armv7 armv7s i386 x86_64"
  - RUST_AND_ARCHS="aarch64 armv7 arm i686"
  matrix:
  - AND_ARCHS="android" IOS_ARCHS=""
  - AND_ARCHS="android-armeabi" IOS_ARCHS=""
  #- AND_ARCHS="android-mips" IOS_ARCHS=""
  - AND_ARCHS="android-x86" IOS_ARCHS=""
  - AND_ARCHS="android64" IOS_ARCHS=""
  - AND_ARCHS="android64-aarch64" IOS_ARCHS=""
  - AND_ARCHS="" IOS_ARCHS="arm64"
  - AND_ARCHS="" IOS_ARCHS="armv7s"
  - AND_ARCHS="" IOS_ARCHS="armv7"
  - AND_ARCHS="" IOS_ARCHS="i386"
  - AND_ARCHS="" IOS_ARCHS="x86_64"

install: true

#matrix:
#  exclude:

os:
- osx

osx_image: xcode8.3

script:
- echo script
- export PATH="$PATH:$HOME/.cargo/bin"
- (cd scripts && bash build.sh && cd ..)
- pwd
#- cargo build --target=arm-linux-androideabi

before_deploy:
- export RELEASE_PKG_FILE=$(ls target/*.tar.gz)
- echo "deploying $RELEASE_PKG_FILE to GitHub releases"
deploy:
  provider: releases
  api_key: $GITHUB_GIT_SERVICE_TOKEN
  file_glob: true
  #file: target/openssl-1.1.0c-*.tar.gz
  file: "${RELEASE_PKG_FILE}"
  skip_cleanup: true
  on:
    tags: true
after_deploy:
- echo "deploy $RELEASE_PKG_FILE done"
{'fraction_non_alphanumeric': 0.15826899634295002, 'fraction_numerical': 0.028850060950832996, 'mean_word_length': 3.558333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?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': '2910415', 'n_tokens_mistral': 2128, 'n_tokens_neox': 2017, 'n_words': 396}