<commit_before>language: python
branches:
  only:
    - master
before_install:
  - sudo add-apt-repository --yes ppa:fontforge/fontforge
  - sudo apt-get update -qq
  - sudo apt-get install python-fontforge ttfautohint swig
  - pip install --upgrade pip
install:
  - export LD_LIBRARY_PATH=/usr/local/lib
  - cp /usr/lib/python2.7/dist-packages/fontforge.* /home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages
  - pip install BeautifulSoup4
  - pip install python-libmagic
  - pip install python-coveralls
  - pip install Scrapy
  - pip install protobuf
  - "pip install git+https://github.com/behdad/fonttools.git"
script: python fontbakery-check-ttf.py Data/TestFont/cousine/Cousine-Bold.ttf
after_success:
  coveralls<commit_msg>a few more tweaks to the Travis config file<commit_after>language: python
branches:
  only:
    - master
before_install:
  - sudo add-apt-repository --yes ppa:fontforge/fontforge
  - sudo apt-get update -qq
  - sudo apt-get install python-fontforge ttfautohint swig
  - pip install --upgrade pip
install:
  - export LD_LIBRARY_PATH=/usr/local/lib
  - cp /usr/lib/python2.7/dist-packages/fontforge.* /home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages
  - pip install BeautifulSoup4
  - pip install filemagic
#  - pip install python-coveralls
#  - pip install Scrapy
#  - pip install protobuf
  - "pip install git+https://github.com/behdad/fonttools.git"
script: python fontbakery-check-ttf.py Data/TestFont/cousine/Cousine-Bold.ttf
after_success:
#  coveralls
{'fraction_non_alphanumeric': 0.10634081902245707, 'fraction_numerical': 0.010568031704095112, 'mean_word_length': 3.6189024390243905, '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': '3333378', 'n_tokens_mistral': 553, 'n_tokens_neox': 521, 'n_words': 115}