<commit_before>language: python

python:
  - 2.7

virtualenv:
     system_site_packages: true

env:
    - NUMPY_VERSION=1.7.0 SETUP_CMD='test' MATPLOTLIB_VERSION=1.1 SUDS_PKG='suds-jurko'

#matrix:
#    include:
#        - python: 2.6
#        env: NUMPY_VERSION=1.7.0 SETUP_CMD='test' OPTIONAL_DEPS=true MATPLOTLIB_VERSION=1.1 SUDS_PKG='suds'

before_install:
   # We do this to make sure we get the dependencies so pip works below
   - sudo apt-get update -qq
   - sudo apt-get install -qq python-numpy cython libatlas-dev liblapack-dev gfortran python-matplotlib python-pandas python-pyfits
#  # This means we don't have to build scipy, however it does mean that we are reliant upon this package working.
#   - sudo add-apt-repository -y ppa:pylab/stable
#   - sudo apt-get update
#   - sudo apt-get install python-scipy

# command to install dependencies
install:
#Install Numpy first so we force the version we are using
  - pip install --upgrade "numpy==$NUMPY_VERSION" --use-mirrors
# This means we don't have to build scipy, however it does mean that we are reliant upon this package working.
  - sudo add-apt-repository -y ppa:pylab/stable
  - sudo apt-get update
  - sudo apt-get install python-scipy
# Install the other requirements to the desired version
  - pip install --upgrade "matplotlib==$MATPLOTLIB_VERSION" --use-mirrors
  - pip install --upgrade pyfits  --use-mirrors
  - pip install --upgrade pandas --use-mirrors
  - pip install pytest suds-jurko beautifulsoup4
#  - pip install --upgrade scipy -q --use-mirrors

# command to run tests
script:
  - python setup.py develop
  - py.test --tb=short
  - echo "---------------------LONG TESTS-----------------------------------"
  - py.test <commit_msg>Add travis config to master<commit_after>language: python

python:
  - 2.7

virtualenv:
     system_site_packages: false

env:
    - NUMPY_VERSION=1.7.0 SETUP_CMD='test' MATPLOTLIB_VERSION=1.1 SUDS_PKG='suds-jurko'

#matrix:
#    include:
#        - python: 2.6
#        env: NUMPY_VERSION=1.7.0 SETUP_CMD='test' OPTIONAL_DEPS=true MATPLOTLIB_VERSION=1.1 SUDS_PKG='suds'

before_install:
   # We do this to make sure we get the dependencies so pip works below
   - sudo apt-get update -qq
   - sudo apt-get install -qq cython libatlas-dev liblapack-dev gfortran
# command to install dependencies
install:
#Install Numpy first so we force the version we are using
  - pip install numpy --use-mirrors
# Install the other requirements to the desired version
  - pip install matplotlib --use-mirrors
  - pip install pyfits  --use-mirrors
  - pip install pandas --use-mirrors
  - pip install scipy --use-mirrors
  - pip install pytest suds-jurko beautifulsoup4

# command to run tests
script:
  - python setup.py develop
  - py.test
{'fraction_non_alphanumeric': 0.10848198034219148, 'fraction_numerical': 0.010921004732435385, 'mean_word_length': 3.0590841949778436, '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': '2580301', 'n_tokens_mistral': 945, 'n_tokens_neox': 905, 'n_words': 295}