<commit_before>language: python
python:
  - "2.7"
#env: #Doesn't seem to work terribly well
#  - CC=gcc
#  - CC=clang LDSHARED=clang
env: #split tests into two
   - NOSE_IGNORE_FILES='test_qdf.py|test_diskdf.py|test_orbit.py|test_coords.py'
   - NOSE_IGNORE_FILES='^((?!test_orbit).)*$'
   - NOSE_IGNORE_FILES='^((?!test_diskdf).)*$'
   - NOSE_IGNORE_FILES='^((?!test_qdf).)*$'
   - NOSE_IGNORE_FILES='^((?!test_coords).)*$'
virtualenv:
  system_site_packages: true
before_install:
 - sudo apt-get install libgsl0-dev
 - sudo apt-get -qq install lcov
# - pip uninstall -y numpy #uninstall numpy from virtualenv
 - sudo apt-get install -qq python-scipy python-matplotlib
# - sudo dpkg -r --force-depends python-numpy #because this is 1.6.1
# - pip install numpy>=1.7
 - export DISPLAY=:99.0 #For plotting tests, courtesy <NAME>
 - sh -e /etc/init.d/xvfb start $For plotting tests
# command to install dependencies
install:
 - pip install coveralls
 - pip install nose-cov
 - pip install -U requests
 - pip install git+git://github.com/wiredfool/coveralls-merge.git#egg=coveralls-merge
 - gem install coveralls-lcov
 - python setup.py build_ext --coverage --single_ext --inplace
 - python setup.py develop --single_ext
 - rm galpy_integrate_c.so
 - ln -s build/lib.linux-x86_64-2.7/galpy_integrate_c.so galpy_integrate_c.so
script:
 - nosetests -v -w nose/ --with-cov --cov galpy --cov-config .coveragerc_travis
after_success:
 # Generate lcov output 
 - ls build
 - ls build/temp.linux-x86_64-2.7/galpy/potential_src/potential_c_ext/
 - lcov --capture --directory build/temp.linux-x86_64-2.7/galpy/ --output-file coverage.info
 # combine, generate json, and upload
 - coveralls-lcov -v -n coverage.info > coverage.c.json
 - coveralls-merge coverage.c.json
# - coveralls
notifications:
  email:
    recipients:
      - <EMAIL>
    on_success: change
    on_failure: change
<commit_msg>generate initial info file<commit_after>language: python
python:
  - "2.7"
#env: #Doesn't seem to work terribly well
#  - CC=gcc
#  - CC=clang LDSHARED=clang
env: #split tests into two
   - NOSE_IGNORE_FILES='test_qdf.py|test_diskdf.py|test_orbit.py|test_coords.py'
   - NOSE_IGNORE_FILES='^((?!test_orbit).)*$'
   - NOSE_IGNORE_FILES='^((?!test_diskdf).)*$'
   - NOSE_IGNORE_FILES='^((?!test_qdf).)*$'
   - NOSE_IGNORE_FILES='^((?!test_coords).)*$'
virtualenv:
  system_site_packages: true
before_install:
 - sudo apt-get install libgsl0-dev
 - sudo apt-get -qq install lcov
# - pip uninstall -y numpy #uninstall numpy from virtualenv
 - sudo apt-get install -qq python-scipy python-matplotlib
# - sudo dpkg -r --force-depends python-numpy #because this is 1.6.1
# - pip install numpy>=1.7
 - export DISPLAY=:99.0 #For plotting tests, courtesy <NAME>
 - sh -e /etc/init.d/xvfb start $For plotting tests
# command to install dependencies
install:
 - pip install coveralls
 - pip install nose-cov
 - pip install -U requests
 - pip install git+git://github.com/wiredfool/coveralls-merge.git#egg=coveralls-merge
 - gem install coveralls-lcov
 - python setup.py build_ext --coverage --single_ext --inplace
 - python setup.py develop --single_ext
script:
 - lcov --capture --directory build/temp.linux-x86_64-2.7/galpy/ --output-file coverage.info --initial
 - nosetests -v -w nose/ --with-cov --cov galpy --cov-config .coveragerc_travis
after_success:
 # Generate lcov output 
 - ls build
 - ls build/temp.linux-x86_64-2.7/galpy/potential_src/potential_c_ext/
 - lcov --capture --directory build/temp.linux-x86_64-2.7/galpy/ --output-file coverage.info
 # combine, generate json, and upload
 - coveralls-lcov -v -n coverage.info > coverage.c.json
 - coveralls-merge coverage.c.json
# - coveralls
notifications:
  email:
    recipients:
      - <EMAIL>
    on_success: change
    on_failure: change

{'fraction_non_alphanumeric': 0.134498279057453, 'fraction_numerical': 0.015356102727032035, 'mean_word_length': 3.5905224787363306, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, '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': '3973155', 'n_tokens_mistral': 1426, 'n_tokens_neox': 1354, 'n_words': 322}