<commit_before>machine:
  python:
    version: 3.5.1
  environment:
    CODECLIMATE_REPO_TOKEN: 082d5472ff9fad9fcd560b16b714a312093ce064107094d07f23975601f050ab

dependencies:
  pre:
    - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test && sudo apt-get update
    - sudo apt-get install -y gcc-4.9 g++-4.9 libhdf5-dev
    - pip install -U h5py
    - pip install -U numpy
    - pip install -U scipy
    - pip install -U matplotlib
  override:
    - export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0rc1-cp35-cp35m-linux_x86_64.whl
    - pip install $TF_BINARY_URL
    - pip install -U git+https://github.com/tflearn/tflearn.git
    - pip install -U keras
    - pip install -U git+https://github.com/openai/gym.git
    - pip install -U pytest-cov
  cache_directories:
    - "~/.apt-cache"

test:
  override:
    - python setup.py test<commit_msg>fuck ci apt-get caching is unreliable, remove since its not long anyways<commit_after>machine:
  python:
    version: 3.5.1
  environment:
    CODECLIMATE_REPO_TOKEN: 082d5472ff9fad9fcd560b16b714a312093ce064107094d07f23975601f050ab

dependencies:
  pre:
    - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test && sudo apt-get update
    - sudo apt-get install -y gcc-4.9 g++-4.9 libhdf5-dev
    - pip install -U h5py
    - pip install -U numpy
    - pip install -U scipy
    - pip install -U matplotlib
  override:
    - export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0rc1-cp35-cp35m-linux_x86_64.whl
    - pip install $TF_BINARY_URL
    - pip install -U git+https://github.com/tflearn/tflearn.git
    - pip install -U keras
    - pip install -U git+https://github.com/openai/gym.git
    - pip install -U pytest-cov

test:
  override:
    - python setup.py test
{'fraction_non_alphanumeric': 0.10672595886603668, 'fraction_numerical': 0.0744858254585881, 'mean_word_length': 2.9130434782608696, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3648739', 'n_tokens_mistral': 763, 'n_tokens_neox': 682, 'n_words': 144}