<commit_before>language: python

python:
  - 2.6
  - 2.7
  - 3.1
  - 3.2

install:
  - pip install --use-mirrors cython numpy nose pytz python-dateutil

script:
  - python setup.py build_ext install
  - nosetests --exe -w /tmp -A "not slow" pandas
<commit_msg>BLD: temporary workaround for travis numpy/py3 woes<commit_after>language: python

python:
  - 2.6
  - 2.7
  - 3.1
  - 3.2

install:
  - export PYTHONIOENCODING=utf8 # activate venv 1.8.4 "detach" fix
  - virtualenv --version
  - whoami
  - pwd
  # install 1.7.0b2 for 3.3, and pull a version of numpy git master
  # with a alternate fix for detach bug as a temporary workaround
  # for the others.
  - "if [ $TRAVIS_PYTHON_VERSION == '3.3' ]; then pip uninstall numpy; pip install http://downloads.sourceforge.net/project/numpy/NumPy/1.7.0b2/numpy-1.7.0b2.tar.gz; fi"
  - "if [ $TRAVIS_PYTHON_VERSION == '3.2' ] || [ $TRAVIS_PYTHON_VERSION == '3.1' ]; then pip install --use-mirrors git+git://github.com/numpy/numpy.git@0<PASSWORD>#egg=numpy; fi"
  - "if [ ${TRAVIS_PYTHON_VERSION:0:1} == '2' ]; then pip install numpy; fi" # should be nop if pre-installed
  - pip install --use-mirrors cython nose pytz python-dateutil

script:
  - python setup.py build_ext install
  - nosetests --exe -w /tmp -A "not slow" pandas

{'fraction_non_alphanumeric': 0.1331245105716523, 'fraction_numerical': 0.03523884103367267, 'mean_word_length': 3.0443037974683542, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, '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': '3889171', 'n_tokens_mistral': 519, 'n_tokens_neox': 495, 'n_words': 135}