<commit_before>sudo: required
dist: trusty
language: node_js
branches:
  only:
  - rc-master
  - rc-develop
node_js:
- 8.4.0
cache:
- pip
- yarn
install:
- pip install --user awscli
before_script:
- yarn
script:
- sh -c "if [ "$TRAVIS_BRANCH" == "rc-master" ]; then yarn run build --prefix-paths; fi"
- sh -c "if [ "$TRAVIS_BRANCH" == "rc-develop" ]; then yarn run build; fi"
deploy:
  provider: script
  script: test $TRAVIS_BRANCH = "rc-develop" && AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY aws s3 sync --acl public-read --sse --delete public s3://sendgrid-knowledge-center-staging<commit_msg>singel quotes<commit_after>sudo: required
dist: trusty
language: node_js
branches:
  only:
  - rc-master
  - rc-develop
node_js:
- 8.4.0
cache:
- pip
- yarn
install:
- pip install --user awscli
before_script:
- yarn
script:
- sh -c "if [ '$TRAVIS_BRANCH' == 'rc-master']; then yarn run build --prefix-paths; fi"
- sh -c "if [ '$TRAVIS_BRANCH' == 'rc-develop' ]; then yarn run build; fi"
deploy:
  provider: script
  script: test $TRAVIS_BRANCH = "rc-develop" && AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY aws s3 sync --acl public-read --sse --delete public s3://sendgrid-knowledge-center-staging
{'fraction_non_alphanumeric': 0.1393507521773555, 'fraction_numerical': 0.00791765637371338, 'mean_word_length': 4.117408906882591, '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': '4683830', 'n_tokens_mistral': 498, 'n_tokens_neox': 485, 'n_words': 124}