<commit_before>language: android
android:
  components:
    # The BuildTools version used by your project
    - build-tools-22.0.1

    # The SDK version used to compile your project
    - android-22
jdk:
  - openjdk7
before_install:
  - echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
  - sudo apt-get update -qq
  - sudo apt-get install -qq -y --force-yes sbt
  - |
      # BasePlugin requires those to be set
      # secure values are not available in pull-request from other repos
      # real credentials are only required on master branch or tag after succesfull build
      if [ "${TRAVIS_PULL_REQUEST}" != "false" ]
      then
        export S3_ACCESS_KEY="invalid"
        export S3_SECRET_KEY="invalid"
      fi

script: sbt compile test
notifications:
  email: false
env:
  global:
  - secure: "<KEY>
  - secure: "<KEY>

# publish artifcats
after_success:
- ! '[[ $TRAVIS_BRANCH =~ ^(v[0-9]+\.[0-9]+\.[0-9]+|master)$ && $TRAVIS_PULL_REQUEST
  = false ]] && sbt publish'

# publish docs
before_deploy:
  - sbt doc
  - mkdir -p docs/$TRAVIS_BRANCH
  - cp -a android/target/api docs/$TRAVIS_BRANCH/android
  - cp -a core/target/api docs/$TRAVIS_BRANCH/core
deploy:
  provider: s3
  access_key_id:
    secure: "<KEY>
  secret_access_key:
    secure: "<KEY>
  bucket: nordpol.fidesmo.com
  region: eu-west-1
  endpoint: nordpol.fidesmo.com.s3-website-eu-west-1.amazonaws.com
  local_dir: docs
  acl: public_read
  skip_cleanup: true
  on:
    branch: master
    tags: true
<commit_msg>Fix condition for docs deployment<commit_after>language: android
android:
  components:
    # The BuildTools version used by your project
    - build-tools-22.0.1

    # The SDK version used to compile your project
    - android-22
jdk:
  - openjdk7
before_install:
  - echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
  - sudo apt-get update -qq
  - sudo apt-get install -qq -y --force-yes sbt
  - |
      # BasePlugin requires those to be set
      # secure values are not available in pull-request from other repos
      # real credentials are only required on master branch or tag after succesfull build
      if [ "${TRAVIS_PULL_REQUEST}" != "false" ]
      then
        export S3_ACCESS_KEY="invalid"
        export S3_SECRET_KEY="invalid"
      fi

script: sbt compile test
notifications:
  email: false
env:
  global:
  - secure: "<KEY>
  - secure: "<KEY>

# publish artifcats
after_success:
- ! '[[ $TRAVIS_BRANCH =~ ^(v[0-9]+\.[0-9]+\.[0-9]+|master)$ && $TRAVIS_PULL_REQUEST
  = false ]] && sbt publish'

# publish docs
before_deploy:
  - sbt doc
  - mkdir -p docs/$TRAVIS_BRANCH
  - cp -a android/target/api docs/$TRAVIS_BRANCH/android
  - cp -a core/target/api docs/$TRAVIS_BRANCH/core
deploy:
  provider: s3
  access_key_id:
    secure: "<KEY>
  secret_access_key:
    secure: "<KEY>
  bucket: nordpol.fidesmo.com
  region: eu-west-1
  endpoint: nordpol.fidesmo.com.s3-website-eu-west-1.amazonaws.com
  local_dir: docs
  acl: public_read
  skip_cleanup: true
  on:
    condition: '$TRAVIS_BRANCH =~ ^(v[0-9]+\.[0-9]+\.[0-9]+|master)$ && $TRAVIS_PULL_REQUEST = false'

{'fraction_non_alphanumeric': 0.12365591397849462, 'fraction_numerical': 0.013915243516761544, 'mean_word_length': 2.9836272040302267, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '1137242', 'n_tokens_mistral': 1192, 'n_tokens_neox': 1154, 'n_words': 293}