<commit_before>language: go
sudo: false
go: 1.7
node_js: 6.9.0
install:
  - . $HOME/.nvm/nvm.sh
  - nvm install stable
  - nvm use stable
  - npm install -g "gulpjs/gulp#4.0"
  - go get -v github.com/spf13/hugo
script: npm install && gulp build:prod
after_success: |
  if [ -n "$GITHUB_API_KEY" ] && [ ${TRAVIS_PULL_REQUEST} == "false" ] && [ $TRAVIS_BRANCH == "master" ]; then
    GIT_COMMIT=`git rev-parse --short HEAD`
    cd ./public && cp ../CNAME ./CNAME && cp ../robots.txt ./robots.txt
    git init > /dev/null 2>&1
    git add .
    git -c user.name='Travis-CI' -c user.email='<EMAIL>' commit -m "build ${GIT_COMMIT}" > /dev/null 2>&1
    echo "pushing content to gh-pages"
    git push --force --quiet "https://${GITHUB_API_KEY}@github.com/magneticio/vamp.io.git" master:gh-pages > /dev/null 2>&1
  fi
env:
  matrix:
    secure: HdfrUaeAiAVnPfnBqPQKfiyhczW6nDOrzubQw6H/5hVWxzR+zMIyO5G90RPospL5l5oZwk/6Fl0gT+Li/9W1pgplOFV4dUl10FxmkrRp98DHjNyDluMrJGS1UnlbM7GJvN+jvNZ23t8ZRFh/dNvRf00wZC8ucEAMwT+i462e7ziKdqo4dCdXn55uMGRbFrD7MvA9kZ7gZeOg3IPzhfMoDh1KjgIRiqDXCv8LojR12HHyKw1pCfNyCYEkuDZ+C5y2gkGKZEO8T6p81dDNbOJVdH9vv8Pp+RzjEx5Ce1sfvU9tN4xJOkDgk01DkIYNEPGahugWyO4UM911q0Ug3eqBDRa05r1P47tF1GRMwU1iM/vKzmG/0xgSxJ/T9JL86UxBo/ImpDb/+8LpA2AF4kVvQwFm29V7gq0DIM+EFeKnT+3UHzW4IIyc1vqcE5fcaJIwoB9B4vypwmXNWqujYEBvvsukja2Z6jrUfgukczNC5ReTSoGt5/byGO2arRpXKZeVS0RTZeLr4eTQV3QJYv9UM2XMbqVRGc/oIofF29iiaUS59KWbxQjTEBVazWcySchfMJDWtSueOV0v3mRvaoh2uMQcqKEePppHSWZ4Z5/mKkyGTdmQxt/l3m+njtIDwplYFHJP6WCmEkg4hyoEM5ZIQQ8WvL61vPOSF60hzGOYig8=<commit_msg>Made sure only master branch is build by travis<commit_after># safelist
branches:
  only:
    - master

language: go
sudo: false
go: 1.7
node_js: 6.9.0
install:
  - . $HOME/.nvm/nvm.sh
  - nvm install stable
  - nvm use stable
  - npm install -g "gulpjs/gulp#4.0"
  - go get -v github.com/spf13/hugo
script: npm install && gulp build:prod
after_success: |
  if [ -n "$GITHUB_API_KEY" ] && [ ${TRAVIS_PULL_REQUEST} == "false" ] && [ $TRAVIS_BRANCH == "master" ]; then
    GIT_COMMIT=`git rev-parse --short HEAD`
    cd ./public && cp ../CNAME ./CNAME && cp ../robots.txt ./robots.txt
    git init > /dev/null 2>&1
    git add .
    git -c user.name='Travis-CI' -c user.email='<EMAIL>' commit -m "build ${GIT_COMMIT}" > /dev/null 2>&1
    echo "pushing content to gh-pages"
    git push --force --quiet "https://${GITHUB_API_KEY}@github.com/magneticio/vamp.io.git" master:gh-pages > /dev/null 2>&1
  fi
env:
  matrix:
    secure: <KEY>
{'fraction_non_alphanumeric': 0.13371150729335493, 'fraction_numerical': 0.05834683954619125, 'mean_word_length': 4.186974789915967, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 18, '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': '2035155', 'n_tokens_mistral': 1319, 'n_tokens_neox': 1236, 'n_words': 182}