<commit_before>language: python
python:
- '2.7'
install:
- python setup.py bdist
- pip install .
script: run_tests
before_deploy:
- git config --global user.email "<EMAIL>"
- git config --global user.name "<NAME>"
- export GIT_TAG=`python -c 'import cxmanage_api.__init__; print cxmanage_api.__init__.__version__'`
- export GIT_TAG=v$GIT_TAG.Build$TRAVIS_BUILD_NUMBER
- echo $GIT_TAG
- git tag $GIT_TAG -f -a -m "Generated tag from TravisCI for build $TRAVIS_BUILD_NUMBER"
- git push https://$GITPERM@github.com/SilverLiningSystems/cxmanage-test
- export RELEASE_FILE=$(ls dist/*.tar.gz)
- echo "deploying $RELEASE_FILE to Github releases"
notifications:
  slack:
    secure: <KEY>

deploy:
  - provider: releases
    api_key:
      secure: <KEY>
    skip_cleanup: true
    file_glob: true
    file: "$RELEASE_FILE"
    on:<commit_msg>add branch name<commit_after>language: python
python:
- '2.7'
install:
- python setup.py bdist
- pip install .
script: run_tests
before_deploy:
- git config --global user.email "<EMAIL>"
- git config --global user.name "<NAME>"
- export GIT_TAG=`python -c 'import cxmanage_api.__init__; print cxmanage_api.__init__.__version__'`
- export GIT_TAG=v$GIT_TAG.$TRAVIS_BRANCH.Build$TRAVIS_BUILD_NUMBER
- echo $GIT_TAG
- git tag $GIT_TAG -f -a -m "Generated tag from TravisCI for build $TRAVIS_BUILD_NUMBER"
- git push https://$GITPERM@github.com/SilverLiningSystems/cxmanage-test
- export RELEASE_FILE=$(ls dist/*.tar.gz)
- echo "deploying $RELEASE_FILE to Github releases"
notifications:
  slack:
    secure: <KEY>

deploy:
  - provider: releases
    api_key:
      secure: <KEY>
    skip_cleanup: true
    file_glob: true
    file: "$RELEASE_FILE"
    on:
{'fraction_non_alphanumeric': 0.11973918197984589, 'fraction_numerical': 0.0023710729104919974, 'mean_word_length': 4.115151515151515, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3038118', 'n_tokens_mistral': 621, 'n_tokens_neox': 598, 'n_words': 153}