<commit_before>language: python
python:
  - "2.6"
  - "2.7"
before_install:
  - wget https://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"
  - hash -r
  - conda config --set always_yes yes --set changeps1 no
  - conda update -q conda
  - conda config --add channels https://conda.anaconda.org/chemreac
  # Useful for debugging any issues with conda
  - conda info -a
install:
  - "cd src/"
  # "pip install cython"
  #- "pip install numpy"
  - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy cython sundials
  - source activate test-environment
  - if [[ "$TRAVIS_PYTHON_VERSION" == "2.6" ]]; then
      pip install argparse; # assimulo crashes otherwise
    fi
  - "pip install -e ."
script:
  - "cd src/"
  - "python setup.py test"<commit_msg>make conditional as one line<commit_after>language: python
python:
  - "2.6"
  - "2.7"
before_install:
  - wget https://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"
  - hash -r
  - conda config --set always_yes yes --set changeps1 no
  - conda update -q conda
  - conda config --add channels https://conda.anaconda.org/chemreac
  # Useful for debugging any issues with conda
  - conda info -a
install:
  - "cd src/"
  # "pip install cython"
  #- "pip install numpy"
  - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy cython sundials
  - source activate test-environment
  # Install argparse for py2.6 because assimulo does not know how.
  - if [[ "$TRAVIS_PYTHON_VERSION" == "2.6" ]]; then pip install argparse; fi
  - "pip install -e ."
script:
  - "cd src/"
  - "python setup.py test"
{'fraction_non_alphanumeric': 0.12740252608456892, 'fraction_numerical': 0.013179571663920923, 'mean_word_length': 3.0309734513274336, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1484738', 'n_tokens_mistral': 683, 'n_tokens_neox': 658, 'n_words': 184}