<commit_before>sudo: required

language: python
python:
- 3.3
- 3.4
- 3.5

cache: pip

before_install:
- sudo add-apt-repository ppa:git-core/ppa -y
- sudo apt-get update
env:
  global:
  - RANDOM_SEED=12345

install:
- sudo apt-get install git; git --version
- pip install coveralls scrutinizer-ocular

before_script:
- make env
- make depends-ci

script:
- make ci

after_success:
- coveralls
- ocular

notifications:
  email:
    on_success: never
    on_failure: change<commit_msg>Add mkdocs deployment to GitHub Pages<commit_after>sudo: required

language: python
python:
- 3.3
- 3.4
- 3.5

cache: pip

before_install:
- sudo add-apt-repository ppa:git-core/ppa -y
- sudo apt-get update
env:
  global:
  - RANDOM_SEED=12345

install:
- sudo apt-get install git; git --version
- pip install coveralls scrutinizer-ocular mkdocs

before_script:
- make env
- make depends-ci

script:
- make ci

after_success:
- coveralls
- ocular

after_script: >
  echo $TRAVIS_BRANCH; echo $TRAVIS_PULL_REQUEST;
  if [[ $TRAVIS_BRANCH == 'develop' && $TRAVIS_PULL_REQUEST == 'false' ]]; then
    # Generate site
    mkdocs build ;
    # Configure Git with Travis CI information
    git config --global user.email "<EMAIL>" ;
    git config --global user.name "travis-ci" ;
    # Delete the current repository
    rm -rf .git ;
    # Rebuild the repository from the generated files and push to GitHub pages
    cd site ;
    git init ;
    git add . ;
    git commit -m "Deploy Travis CI build $TRAVIS_BUILD_NUMBER to GitHub pages" ;
    git push -f https://${GH_TOKEN}<EMAIL>/${TRAVIS_REPO_SLUG} master:gh-pages ;
  fi

notifications:
  email:
    on_success: never
    on_failure: change
{'fraction_non_alphanumeric': 0.09970149253731343, 'fraction_numerical': 0.013134328358208954, 'mean_word_length': 3.2430379746835443, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 1, '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': '5466833', 'n_tokens_mistral': 619, 'n_tokens_neox': 580, 'n_words': 176}