<commit_before>language: go

# github.com/flynn/hid is broken on go1.9 on MacOS X, so pin to go1.8.
go:
    - 1.8

os:
    - linux
    - osx

before_install:
    - REPO_NAME=$(basename $PWD)
    - GITHUB_PATH=$(dirname $(dirname $PWD))
    - SYMANTEC_PROJECT_DIR=${GITHUB_PATH}/Symantec/${REPO_NAME}
    - mkdir -p ${SYMANTEC_PROJECT_DIR}
    - rsync -az ${TRAVIS_BUILD_DIR}/ ${SYMANTEC_PROJECT_DIR}/
    - export TRAVIS_BUILD_DIR=${SYMANTEC_PROJECT_DIR}
    - cd ${SYMANTEC_PROJECT_DIR}

install: make get-deps

script: make all test<commit_msg>forcing to use go 1.8.3 (in that version WFM), so mostly a test<commit_after>language: go

# github.com/flynn/hid is broken on go1.9 on MacOS X, so pin to go1.8.
go:
    - 1.8.3

os:
    - linux
    - osx

before_install:
    - REPO_NAME=$(basename $PWD)
    - GITHUB_PATH=$(dirname $(dirname $PWD))
    - SYMANTEC_PROJECT_DIR=${GITHUB_PATH}/Symantec/${REPO_NAME}
    - mkdir -p ${SYMANTEC_PROJECT_DIR}
    - rsync -az ${TRAVIS_BUILD_DIR}/ ${SYMANTEC_PROJECT_DIR}/
    - export TRAVIS_BUILD_DIR=${SYMANTEC_PROJECT_DIR}
    - cd ${SYMANTEC_PROJECT_DIR}

install: make get-deps

script: make all test
{'fraction_non_alphanumeric': 0.12937062937062938, 'fraction_numerical': 0.013986013986013986, 'mean_word_length': 3.3702290076335877, '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': '1394039', 'n_tokens_mistral': 482, 'n_tokens_neox': 475, 'n_words': 99}