<commit_before>language: python
python:
- '2.7'
addons:
  postgresql: 9.3
services:
- mongodb
cache:
  directories:
  - $HOME/.pip-download-cache
script:
  - 
env:
- PIP_DOWNLOAD_CACHE=$HOME/.pip-download-cache DJANGO_DEBUG=False DJANGO_SECRET_KEY=64mSBN96GBfFQtf
before_install:
# Hack to avoid modifying upstream settings file
- bash -c "echo \"SECRET_KEY = os.environ.get('DJANGO_SECRET_KEY')\" >> onadata/settings/common.py"
install:
- pip install -r requirements/base.pip
- python manage.py syncdb --noinput --settings=onadata.settings.common
- python manage.py migrate --noinput --settings=onadata.settings.common

# Deploy to kc.kbtdev.org, based on
# http://docs.travis-ci.com/user/deployment/custom/
after_success:
- echo '*** Deploying to staging server'
# Decrypt private key
- openssl aes-256-cbc -K $encrypted_40a3bfcf98cf_key -iv $encrypted_40a3bfcf98cf_iv
  -in travis_deploy_key.pem.enc -out travis_deploy_key.pem
# Install private key
- chmod 600 .travis/staging_deploy_key.pem
- eval "$(ssh-agent)" # Travis documentation omits this, but without it ssh-add fails
- ssh-add .travis/staging_deploy_key.pem
# Execute deployment script via SSH
- test "$TRAVIS_PULL_REQUEST" == 'false' -a "$TRAVIS_BRANCH" == 'master' && ssh -o UserKnownHostsFile=.travis/staging_known_host <EMAIL> /home/ubuntu/scripts/kc_deploy.sh "$TRAVIS_COMMIT"

notifications:
  irc: irc.freenode.org#kobotest
  flowdock: ad631fc562736cf87e0c4439f9518f9d<commit_msg>Try minimal, deploy-only .travis.yml<commit_after>language: python
python:
- '2.7'
script:
  - 

# Deploy to kc.kbtdev.org, based on
# http://docs.travis-ci.com/user/deployment/custom/
after_success:
- echo '*** Deploying to staging server'
# Decrypt private key
- openssl aes-256-cbc -K $encrypted_40a3bfcf98cf_key -iv $encrypted_40a3bfcf98cf_iv
  -in travis_deploy_key.pem.enc -out travis_deploy_key.pem
# Install private key
- chmod 600 .travis/staging_deploy_key.pem
- eval "$(ssh-agent)" # Travis documentation omits this, but without it ssh-add fails
- ssh-add .travis/staging_deploy_key.pem
# Execute deployment script via SSH
- test "$TRAVIS_PULL_REQUEST" == 'false' -a "$TRAVIS_BRANCH" == 'master' && ssh -o UserKnownHostsFile=.travis/staging_known_host <EMAIL> /home/ubuntu/scripts/kc_deploy.sh "$TRAVIS_COMMIT"

notifications:
  irc: irc.freenode.org#kobotest
  flowdock: ad631fc562736cf87e0c4439f9518f9d
{'fraction_non_alphanumeric': 0.11918850380388842, 'fraction_numerical': 0.03550295857988166, 'mean_word_length': 4.902743142144638, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3127923', 'n_tokens_mistral': 989, 'n_tokens_neox': 909, 'n_words': 185}