<commit_before>language: python

python:
  - 2.7

# Whitelist branches
branches:
  only:
    - master

before_install:
  - pip install --upgrade pip
  # install gcc-4.8 for C++11 compatibility, #TODO remove when Travis has gcc>=4.8, (it's used for clang too, in coveralls)
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - sudo apt-get -qq update
  - sudo apt-get -qq install g++-4.8
  - alias gcc='gcc-4.8'
  - alias g++='g++-4.8'
  - export CC='gcc-4.8'
  - export CXX='g++-4.8'
  - pip install https://s3-us-west-2.amazonaws.com/artifacts.numenta.org/numenta/nupic/releases/nupic-0.2.2-cp27-none-linux_x86_64.whl

install:
  - pip install -r requirements.txt
  - python setup.py install

# Run tests
script:
  - py.test tests/<commit_msg>remove nupic install from travis yml<commit_after>language: python

python:
  - 2.7

# Whitelist branches
branches:
  only:
    - master

before_install:
  - pip install --upgrade pip
  # install gcc-4.8 for C++11 compatibility, #TODO remove when Travis has gcc>=4.8, (it's used for clang too, in coveralls)
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - sudo apt-get -qq update
  - sudo apt-get -qq install g++-4.8
  - alias gcc='gcc-4.8'
  - alias g++='g++-4.8'
  - export CC='gcc-4.8'
  - export CXX='g++-4.8'

install:
  - pip install -r requirements.txt
  - python setup.py install

# Run tests
script:
  - py.test tests/
{'fraction_non_alphanumeric': 0.14398280802292263, 'fraction_numerical': 0.0336676217765043, 'mean_word_length': 2.9022346368715084, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '1110892', 'n_tokens_mistral': 574, 'n_tokens_neox': 537, 'n_words': 139}