<commit_before>language: python

python:
  - "2.7"

install:
  # Install conda
  - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH="$HOME/miniconda/bin:$PATH"
  - python -c 'import os,sys,fcntl; flags = fcntl.fcntl(sys.stdout, fcntl.F_GETFL); fcntl.fcntl(sys.stdout, fcntl.F_SETFL, flags&~os.O_NONBLOCK);'
  - pushd deploy
  - ./install_taxbrain_server.sh
  - popd
  - source activate aei_dropq


addons:
    postgresql: "9.4"

before_script:
  - psql -c 'create database test_db;' -U postgres

script:
  - py.test webapp/apps/<commit_msg>Try conda clean before running install<commit_after>language: python

python:
  - "2.7"

install:
  # Install conda
  - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH="$HOME/miniconda/bin:$PATH"
  - python -c 'import os,sys,fcntl; flags = fcntl.fcntl(sys.stdout, fcntl.F_GETFL); fcntl.fcntl(sys.stdout, fcntl.F_SETFL, flags&~os.O_NONBLOCK);'
  - pushd deploy
  - conda clean --all
  - ./install_taxbrain_server.sh
  - popd
  - source activate aei_dropq


addons:
    postgresql: "9.4"

before_script:
  - psql -c 'create database test_db;' -U postgres

script:
  - py.test webapp/apps/
{'fraction_non_alphanumeric': 0.13790504898266767, 'fraction_numerical': 0.012057272042200452, 'mean_word_length': 3.4414715719063547, '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': '853055', 'n_tokens_mistral': 565, 'n_tokens_neox': 548, 'n_words': 105}