<commit_before>language: python
sudo: false

services:
  - mongodb

python:
  - 3.4
  - 3.5

before_install:
  - git clone https://github.com/nsls-ii/nsls2-ci ~/scripts
  - . ~/scripts/install-miniconda.sh

install:
  - conda create -n testenv --yes nose python=$TRAVIS_PYTHON_VERSION pymongo ujson tornado jsonschema requests pyyaml pytz pytest doct metadatastore -c lightsource2
  - source activate testenv
  - pip install coveralls codecov mongoquery

script:
  - py.test -sv<commit_msg>MNT:Get mds from nsls-2 master for travis for this to work<commit_after>language: python
sudo: false

services:
  - mongodb

python:
  - 3.4
  - 3.5

before_install:
  - git clone https://github.com/nsls-ii/nsls2-ci ~/scripts
  - git clone https://github.com/nsls-ii/metadatastore.git
  - . ~/scripts/install-miniconda.sh ~/

install:
  - conda create -n testenv --yes nose python=$TRAVIS_PYTHON_VERSION pymongo ujson tornado jsonschema requests pyyaml pytz pytest doct -c lightsource2
  - source activate testenv
  - cd ~/metadatastore
  - python setup.py install
  - pip install coveralls codecov mongoquery

script:
  - py.test -sv
{'fraction_non_alphanumeric': 0.09608540925266904, 'fraction_numerical': 0.011565836298932384, 'mean_word_length': 3.36046511627907, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, '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': '5721385', 'n_tokens_mistral': 420, 'n_tokens_neox': 406, 'n_words': 108}