<commit_before>os:
- linux
sudo: required
language:
- python
python:
- 2.7
addons:
  apt:
    packages:
    - cmake
    - cmake-curses-gui
    - uuid-dev
    - libssl-dev
    - sasl2-bin
    - libsasl2-2
    - libsasl2-dev
    - sasl2-bin
    - swig
    - python-dev
    - ruby-dev
    - libperl-dev
    - git
    - make
    - valgrind

before_install:
- git submodule add https://github.com/apache/qpid-proton.git
- git submodule init
- git submodule update
before_script:
- cd qpid-proton
- mkdir build
- cd build
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr
# This builds and installs qpid-proton
- sudo make install
- pushd proton-c/bindings/python/dist
- sudo python ./setup.py build install
- popd
- PYTHON_VER=`python -c "import sys; print ('python%s.%s' % (sys.version_info[0], sys.version_info[1]))"`
- export PYTHONPATH=$PYTHONPATH:/usr/local/lib/$PYTHON_VER/dist-packages
- cd ../..
- mkdir build
- cd build
- PREFIX=`python -c "import sys; print(sys.prefix)"`
- PYEXE=`python -c "import sys; print(sys.executable)"`
- echo PYTHON_EXECUTABLE:FILEPATH=$PYEXE
- echo PYTHON_INCLUDE_DIR:PATH=$PREFIX/include/$PYTHON_VER<commit_msg>NO-JIRA - Added code to display Ubuntu version<commit_after>os:
- linux
sudo: required
language:
- python
python:
- 2.7
addons:
  apt:
    packages:
    - cmake
    - cmake-curses-gui
    - uuid-dev
    - libssl-dev
    - sasl2-bin
    - libsasl2-2
    - libsasl2-dev
    - sasl2-bin
    - swig
    - python-dev
    - ruby-dev
    - libperl-dev
    - git
    - make
    - valgrind

before_install:
- git submodule add https://github.com/apache/qpid-proton.git
- git submodule init
- git submodule update
before_script:
- lsb_release -a
- cd qpid-proton
- mkdir build
- cd build
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr
# This builds and installs qpid-proton
- sudo make install
- pushd proton-c/bindings/python/dist
- sudo python ./setup.py build install
- popd
- PYTHON_VER=`python -c "import sys; print ('python%s.%s' % (sys.version_info[0], sys.version_info[1]))"`
- export PYTHONPATH=$PYTHONPATH:/usr/local/lib/$PYTHON_VER/dist-packages
- cd ../..
- mkdir build
- cd build
- PREFIX=`python -c "import sys; print(sys.prefix)"`
- PYEXE=`python -c "import sys; print(sys.executable)"`
- echo PYTHON_EXECUTABLE:FILEPATH=$PYEXE
- echo PYTHON_INCLUDE_DIR:PATH=$PREFIX/include/$PYTHON_VER
{'fraction_non_alphanumeric': 0.13385146804835923, 'fraction_numerical': 0.007772020725388601, 'mean_word_length': 2.8941176470588235, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4169247', 'n_tokens_mistral': 934, 'n_tokens_neox': 891, 'n_words': 189}