<commit_before>before_install:
  - sudo apt-get update -qq || true
  - sudo apt-get --reinstall install -qq language-pack-en language-pack-es
language: python
python:
  - "2.6"
  - "2.7"
  - "3.3"
install:
  - "pip install -r requirements-tests.txt --use-mirrors"
  - "pip install . --use-mirrors"
# We run tests, nikola (to see if the command is executable) and flake8.
script:
  - nosetests --with-coverage --cover-package=nikola --with-doctest --doctest-options=+NORMALIZE_WHITESPACE --logging-filter=-yapsy
  - nikola help
  - "flake8 --ignore=E501 ."
after_success:<commit_msg>separate builds for testing and flake8<commit_after>before_install:
  - sudo apt-get update -qq || true
  - sudo apt-get --reinstall install -qq language-pack-en language-pack-es
language: python
python:
  - "2.6"
  - "2.7"
  - "3.3"
env:
  - NMODE=nikola
  - NMODE=flake8
install:
  - "[[ $NMODE == 'nikola' ]] && pip install -r requirements-tests.txt --use-mirrors"
  - "[[ $NMODE == 'nikola' ]] && pip install . --use-mirrors"
  - "[[ $NMODE == 'flake8' ]] && pip install flake8 --use-mirrors"
# We run tests, nikola (to see if the command is executable) and flake8.
script:
  - "[[ $NMODE == 'nikola' ]] && nosetests --with-coverage --cover-package=nikola --with-doctest --doctest-options=+NORMALIZE_WHITESPACE --logging-filter=-yapsy"
  - "[[ $NMODE == 'nikola' ]] && nikola help"
  - "[[ $NMODE == 'flake8' ]] && flake8 --ignore=E501 ."
after_success:
{'fraction_non_alphanumeric': 0.1744266851980542, 'fraction_numerical': 0.018763029881862403, 'mean_word_length': 3.210526315789474, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '852656', 'n_tokens_mistral': 560, 'n_tokens_neox': 545, 'n_words': 129}