<commit_before><commit_msg>Revert "remove old travis config"<commit_after>language: python
python:
    - "2.7"
# command to install dependencies
install:


  - sudo apt-get update
  # We do this conditionally because it saves us some downloading if the
  # version is the same.
  - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
      wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
    else
      wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
    fi
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH="$HOME/miniconda/bin:$PATH"
  - hash -r
  - conda config --set always_yes yes --set changeps1 no
  - conda update -q conda
  # Useful for debugging any issues with conda
  - conda info -a

  - deps='pip nose coverage statsmodels numpy=1.9.2 pandas scipy=0.16.0'
  - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION $deps
  - source activate test-environment

#    - sudo pip install conda
#    - sudo pip install --upgrade ndg-httpsclient
#    - sudo conda init
#    - sudo conda update conda --no-deps
#    - conda install anaconda-client
#    - sudo conda update conda --yes 
#    - deps='pip nose coverage statsmodel numpy pandas scipy'
#    - conda create -p $HOME/py --yes $deps "python=$TRAVIS_PYTHON_VERSION"
#    - export PATH=$HOME/py/bin:$PATH

# command to run tests
script: 
# FIXME If these were modules, this shouldn't be necessary
    nosetests --all-modules --traverse-namespace --with-coverage --cover-inclusive
after_success:
    - pip install coveralls
    - coveralls

{'fraction_non_alphanumeric': 0.1088985687616677, 'fraction_numerical': 0.013067828251400125, 'mean_word_length': 3.040201005025126, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '283433', 'n_tokens_mistral': 573, 'n_tokens_neox': 544, 'n_words': 159}