<commit_before>language: python
python:
  - "2.7"

env:
    global:
        - secure: "<KEY>
        - secure: "<KEY>
        - ARTIFACTS_BUCKET=build-artifacts.floss.flare.fireeye.com

install:
    - pip install https://github.com/williballenthin/vivisect/zipball/master
    - pip install pyinstaller
    - pip install -e .
    - sudo apt-get install -y git clang mingw-w64 gcc-mingw-w64 cmake make gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 binutils-mingw-w64-x86-64 mingw-w64-dev  binutils-mingw-w64-i686 gcc-mingw-w64-i686 g++-mingw-w64-i686
    - git clone https://github.com/tpoechtrager/wclang.git ../wclang
    - pushd ../wclang; cmake -DCMAKE_INSTALL_PREFIX=/usr/local && make && sudo make install; popd
    - pushd tests/src; make all; popd
    - pyinstaller floss.spec
    - find . -type f | grep "/bin/" | tr "\n" ":"

script: py.test tests/src/ -v

addons:
    artifacts:
        debug: true
        paths:
            - dist/floss:$(find . -type f | grep "/bin/" | tr "\n" ":")
        target_paths: travis/<commit_msg>travis: messing with artifact paths<commit_after>language: python
python:
  - "2.7"

env:
    global:
        - secure: "<KEY>
        - secure: "<KEY>
        - ARTIFACTS_BUCKET=build-artifacts.floss.flare.fireeye.com

install:
    - pip install https://github.com/williballenthin/vivisect/zipball/master
    - pip install pyinstaller
    - pip install -e .
    - sudo apt-get install -y git clang mingw-w64 gcc-mingw-w64 cmake make gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 binutils-mingw-w64-x86-64 mingw-w64-dev  binutils-mingw-w64-i686 gcc-mingw-w64-i686 g++-mingw-w64-i686
    - git clone https://github.com/tpoechtrager/wclang.git ../wclang
    - pushd ../wclang; cmake -DCMAKE_INSTALL_PREFIX=/usr/local && make && sudo make install; popd
    - pushd tests/src; make all; popd
    - pyinstaller floss.spec
    - find . -type f | grep "/bin/" | tr "\n" ":"

script: py.test tests/src/ -v

addons:
    artifacts:
        debug: true
        paths:
            - $(find . -type f | grep "\(/bin/\|dist/floss\)" | tr "\n" ":")
        target_paths: travis/
{'fraction_non_alphanumeric': 0.1482544237207078, 'fraction_numerical': 0.0392156862745098, 'mean_word_length': 2.3525641025641026, 'pattern_counts': {'":': 4, '<': 7, '<?xml version=': 0, '>': 7, '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': '2696281', 'n_tokens_mistral': 870, 'n_tokens_neox': 795, 'n_words': 169}