<commit_before>language: python
python:
  - "2.7"
install: 
  - pip install tox
  - npm install bower -g
script:
  - tox
before_deploy:
  - npm install netlify-cli -g
deploy:
    - provider: s3
      access_key_id: $AWS_ACCESS_KEY # declared in Travis repo settings
      secret_access_key: $AWS_SECRET_KEY
      bucket: reformedconfessions.com
      region: us-east-1
      skip_cleanup: true
      local-dir: flask_application/build
      acl: public_read
      default_text_charset: 'utf-8'
      detect_encoding: true
      on:
        branch: master
    - provider: script
      skip_cleanup: true
      script: 
        - tox build
        - netlify deploy --prod --auth $NETLIFY_AUTH_TOKEN --site $NETLIFY_SITE_ID --dir ./flask_application/build/
      on:
        netlify
notifications:
  email:<commit_msg>install node-sass<commit_after>language: python
python:
  - "2.7"
install: 
  - pip install tox
  - npm install bower -g
  - npm install -g node-sass
script:
  - tox
before_deploy:
  - npm install netlify-cli -g
deploy:
    - provider: s3
      access_key_id: $AWS_ACCESS_KEY # declared in Travis repo settings
      secret_access_key: $AWS_SECRET_KEY
      bucket: reformedconfessions.com
      region: us-east-1
      skip_cleanup: true
      local-dir: flask_application/build
      acl: public_read
      default_text_charset: 'utf-8'
      detect_encoding: true
      on:
        branch: master
    - provider: script
      skip_cleanup: true
      script: 
        - tox build
        - netlify deploy --prod --auth $NETLIFY_AUTH_TOKEN --site $NETLIFY_SITE_ID --dir ./flask_application/build/
      on:
        netlify
notifications:
  email:
{'fraction_non_alphanumeric': 0.08298256163559832, 'fraction_numerical': 0.006013229104028864, 'mean_word_length': 2.3752535496957403, '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': '3972657', 'n_tokens_mistral': 571, 'n_tokens_neox': 547, 'n_words': 140}