<commit_before>language: python
python:
    - "2.7"
    #  - "2.6" # fails because of discover
    # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors

addons:
  apt:
    packages:
      # for wxPython:
      - python-wxgtk2.9
      - python-wxtools
      - wx2.9-doc
      - wx2.9-examples
      - wx2.9-headers
      - wx2.9-i18n
      
before_install:
  - sudo apt-get update -qq  # make sure package indexes are up to date
  - sudo apt-get install -y python-scipy python-tk python-matplotlib # python-mpl_basemap doesn't work
  - sudo apt-get install -y python-wxgtk2.9

  # many failed attempts to get wxpython:
  
  #- sudo apt-get install python-pip
  #- sudo pip install numpy
  #- sudo pip install pandas

  # try to install brew:
  #- ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  #- mkdir homebrew && curl -L https://github.com/Homebrew/homebrew/tarball/master | tar xz --strip 1 -C homebrew
  #- which brew
  #- brew update
  #- brew install wxpython

  
  # try to get wxpython

  #- sudo apt-get update -qq
  #- sudo apt-get install -qq libgtk2.0-dev libgtkglextmm-x11-1.2-dev libgtkmm-2.4-dev
  #- sudo apt-get install python-dev
  #- sudo apt-get install libboost-python-dev libboost-signals-dev
  #- sudo apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev
  #- wget http://sourceforge.net/projects/wxpython/files/wxPython/2.9.4.0/wxPython-src-2.9.4.0.tar.bz2
  #- tar xf wxPython-src-2.9.4.0.tar.bz2<commit_msg>revert back to using wxpythong 2.8 for testing. will look further into this later<commit_after>language: python
python:
    - "2.7"
    #  - "2.6" # fails because of discover
    # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors

addons:
  apt:
    packages:
      # for wxPython:
      - python-wxgtk2.8
      - python-wxtools
      - wx2.8-doc
      - wx2.8-examples
      - wx2.8-headers
      - wx2.8-i18n
      
before_install:
  - sudo apt-get update -qq  # make sure package indexes are up to date
  - sudo apt-get install -y python-scipy python-tk python-matplotlib # python-mpl_basemap doesn't work
  - sudo apt-get install -y python-wxgtk2.8

  # many failed attempts to get wxpython:
  
  #- sudo apt-get install python-pip
  #- sudo pip install numpy
  #- sudo pip install pandas

  # try to install brew:
  #- ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  #- mkdir homebrew && curl -L https://github.com/Homebrew/homebrew/tarball/master | tar xz --strip 1 -C homebrew
  #- which brew
  #- brew update
  #- brew install wxpython

  
  # try to get wxpython

  #- sudo apt-get update -qq
  #- sudo apt-get install -qq libgtk2.0-dev libgtkglextmm-x11-1.2-dev libgtkmm-2.4-dev
  #- sudo apt-get install python-dev
  #- sudo apt-get install libboost-python-dev libboost-signals-dev
  #- sudo apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev
  #- wget http://sourceforge.net/projects/wxpython/files/wxPython/2.9.4.0/wxPython-src-2.9.4.0.tar.bz2
  #- tar xf wxPython-src-2.9.4.0.tar.bz2
{'fraction_non_alphanumeric': 0.1203585147247119, 'fraction_numerical': 0.030729833546734954, 'mean_word_length': 2.5755148741418763, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 6, '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': '3767599', 'n_tokens_mistral': 1210, 'n_tokens_neox': 1128, 'n_words': 286}