<commit_before>sudo: false
language: c
cache: ccache
#
# Travis CI Script by <NAME> aka Caio99BR <<EMAIL>>
#
install:
# Building bc (HACK FOR CONTAINER BASED BUILD)
- curl http://gnu.c3sl.ufpr.br/ftp/bc/bc-1.06.tar.gz -o bc-1.06.tar.gz
- tar -zxvf bc-1.06.tar.gz
- cd bc-1.06/
- ./configure
- make
- export PATH=$PATH:$(pwd)/bc
- cd ../

script:
#
# Toolchain Choice
# This will clone TeamVee Prebuilt Toolchains in directory described in build.sh
#
# Branchs available is:
# Google Branch is "google_gcc" | (1) 4.7 / (2) 4.8
# Linaro Branch is "linaro_gcc" | (1) 4.8.4 / (2) 4.9.4

# Toolchain branch select here is Google 4.7
- export ntoolchainbranch="google_gcc"
- git clone -b "${ntoolchainbranch}" "https://github.com/TeamVee/android_prebuilt_toolchains" "../android_prebuilt_toolchains"

# ${ntoolchainchoice} is your Toolchain Choice
- export ntoolchainchoice="1"

# ${ntoolchain}
# "4" is "Toolchain Choice"
- ntoolchain="4${ntoolchainchoice}"

# ${ndevice}
# "2" is "Clean Kernel"
# "3" is "Device Choice"
- ndevice="23"

# ${ndevicechoice} is "Number of Choice under Device Choice"
# - export ndevicechoice="#"

# ${nbuild}
# "6" is "Build Kernel"
# "7" is "Zip the kernel and Modules"
# "q" is to Exit of Script
- nbuild="7"

# Main variables
# Call of 'build.sh'
# - source build.sh <<< "${ndevice}${ndevicechoice}${ntoolchain}${nbuild}"

# Export of zipfile to deploy
# - export zipfile#="${zipfile}"

# Build for Samsung Core 2 | SM-G355H SM-G355HN SM-G355M
- export ndevicechoice="1"
- source build.sh <<< "${ndevice}${ndevicechoice}${ntoolchain}q"
- make -j${build_cpu_usage}${kernel_build_output_enable} ARCH="${ARCH}" CROSS_COMPILE="${kernel_build_ccache}${CROSS_COMPILE}"
- source build.sh <<< "${nbuild}q"
- export zipfile1="${zipfile}"
deploy:
  provider: releases
  skip_cleanup: true
  api_key:
    secure: "<KEY>
  file:
    - "zip-creator/${zipfile1}"
  on:
    tags: true<commit_msg>TravisCI: Deploy from cm-11.0 by now<commit_after>sudo: false
language: c
cache: ccache
#
# Travis CI Script by <NAME> aka Caio99BR <<EMAIL>>
#
install:
# Building bc (HACK FOR CONTAINER BASED BUILD)
- curl http://gnu.c3sl.ufpr.br/ftp/bc/bc-1.06.tar.gz -o bc-1.06.tar.gz
- tar -zxvf bc-1.06.tar.gz
- cd bc-1.06/
- ./configure
- make
- export PATH=$PATH:$(pwd)/bc
- cd ../

script:
#
# Toolchain Choice
# This will clone TeamVee Prebuilt Toolchains in directory described in build.sh
#
# Branchs available is:
# Google Branch is "google_gcc" | (1) 4.7 / (2) 4.8
# Linaro Branch is "linaro_gcc" | (1) 4.8.4 / (2) 4.9.4

# Toolchain branch select here is Google 4.7
- export ntoolchainbranch="google_gcc"
- git clone -b "${ntoolchainbranch}" "https://github.com/TeamVee/android_prebuilt_toolchains" "../android_prebuilt_toolchains"

# ${ntoolchainchoice} is your Toolchain Choice
- export ntoolchainchoice="1"

# ${ntoolchain}
# "4" is "Toolchain Choice"
- ntoolchain="4${ntoolchainchoice}"

# ${ndevice}
# "2" is "Clean Kernel"
# "3" is "Device Choice"
- ndevice="23"

# ${ndevicechoice} is "Number of Choice under Device Choice"
# - export ndevicechoice="#"

# ${nbuild}
# "6" is "Build Kernel"
# "7" is "Zip the kernel and Modules"
# "q" is to Exit of Script
- nbuild="7"

# Main variables
# Call of 'build.sh'
# - source build.sh <<< "${ndevice}${ndevicechoice}${ntoolchain}${nbuild}"

# Export of zipfile to deploy
# - export zipfile#="${zipfile}"

# Build for Samsung Core 2 | SM-G355H SM-G355HN SM-G355M
- export ndevicechoice="1"
- source build.sh <<< "${ndevice}${ndevicechoice}${ntoolchain}q"
- make -j${build_cpu_usage}${kernel_build_output_enable} ARCH="${ARCH}" CROSS_COMPILE="${kernel_build_ccache}${CROSS_COMPILE}"
- source build.sh <<< "${nbuild}q"
- export zipfile1="${zipfile}"
deploy:
  provider: releases
  skip_cleanup: true
  api_key:
    secure: "<KEY>
  file:
    - "zip-creator/${zipfile1}"
  on:
    branch: cm-11.0
{'fraction_non_alphanumeric': 0.16554054054054054, 'fraction_numerical': 0.029625779625779627, 'mean_word_length': 4.272602739726027, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 11, 'https://': 2, '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': '1484018', 'n_tokens_mistral': 1548, 'n_tokens_neox': 1454, 'n_words': 376}