<commit_before>language: python
# Replace "python" with java if appropriate

python:
  - "2.7"

sudo: required

services:
  - docker

notifications:
#  email:
#    recipients:
#      - <EMAIL>
#    on_success: never # default: change
#    on_failure: always # default: always

env:
  global:
#    Please see https://docs.travis-ci.com/user/encryption-keys/ for information
#    about adding encryption keys which can be used to store auth tokens used in running apps against
#    the KBase infrastructure
#    secure: "blahblahblah"

before_install:
    - env

install:
    #- pip install coveralls
    #- pip install coverage
    - git clone https://github.com/kbase/jars
    - git clone https://github.com/kbase/kb_sdk
    - cd kb_sdk
    - make
    - make sdkbase
    - docker images
    - export PATH=$(pwd)/bin:$PATH
    - cd ../
    # Insert your own module here
    #- git clone https://github.com/kbase/kb_sdk.git
    #- cd kb_sdk
    # run the kb-sdk test command once to build test_local dir and populate the .ignore files
    #- kb-sdk test -s || true
    
script:
  - kb-sdk validate
  <commit_msg>Tune this travis for the kb_sdk itself, other changes will end up in the templates<commit_after>language: python
# Replace "python" with java if appropriate

python:
  - "2.7"

sudo: required

services:
  - docker

notifications:
#  email:
#    recipients:
#      - <EMAIL>
#    on_success: never # default: change
#    on_failure: always # default: always

env:
  global:
#    Please see https://docs.travis-ci.com/user/encryption-keys/ for information
#    about adding encryption keys which can be used to store auth tokens used in running apps against
#    the KBase infrastructure
#    secure: "blahblahblah"

before_install:
    - env

install:
  - cd ..
  - git clone https://github.com/kbase/jars
script:
  - make bin
  - make sdkbase
  - export PATH=$(pwd)/bin:$PATH
  - source src/sh/sdk-completion.sh
  - kb-sdk help
  
{'fraction_non_alphanumeric': 0.10051546391752578, 'fraction_numerical': 0.002061855670103093, 'mean_word_length': 2.747104247104247, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 6, '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': '6144092', 'n_tokens_mistral': 646, 'n_tokens_neox': 626, 'n_words': 199}