<commit_before>language: scala

scala: 2.12.7

jdk: oraclejdk8

script:
- sbt ciBuild

cache:
  directories:
  - "$HOME/.m2"
  - "$HOME/.ivy2"
  - "$HOME/.sbt"

before_install:
  - sudo apt-get update
  - sudo apt-get install graphviz
  - openssl aes-256-cbc -K $encrypted_e8464d595ae2_key -iv $encrypted_e8464d595ae2_iv -in .dropbox_uploader.enc -out $HOME/.dropbox_uploader -d

before_cache:
  - rm -Rf $HOME/.ivy2/.sbt.ivy.lock ; rm -Rf $HOME/.ivy2/local ; rm -Rf $HOME/.m2/repository/de/wayofquality/blended

env:
  global:
    - TEST_ONLINE="true"
    # PGP_PASS
    - secure: "<KEY>
    # SONATYPE_USERNAME
    - secure: "<KEY>
    # SONATYPE_PASSWORD
    - secure: "<KEY>
    # CODACY_PROJECT_TOKEN
    - secure: "<KEY>
    # GITHUB_TOKEN
    - secure: "<KEY>

stages:
  - name: VerifyPublish
    if: branch = publish AND type = push
  - Test
  - name: Deploy
    if: branch = publish AND type = push
  - name: Site
    if: branch = master

jobs:
  include:
  - stage: VerifyPublish
    script: ./verifyPublish.sh
  - stage: Test
    before_script:
    - ./dropbox_uploader.sh list
    - git clone https://github.com/woq-blended/akka.git akka ; cd akka ; git checkout osgi ; sbt publishM2 ; cd ..
    script:
    - sbt cleanCoverage unidoc
    after_failure:
    - ./upload-results.sh $TRAVIS_BUILD_NUMBER
    after_success:
    - ./upload-results.sh $TRAVIS_BUILD_NUMBER
  - stage: Deploy
    script: ./runPublish.sh
  - stage: Site
    before_script:
    - ./dropbox_uploader.sh download travis/$TRAVIS_BUILD_NUMBER/target.tgz target.tgz
    - tar -xzf target.tgz
    script:
    - sbt jbakeSite
    deploy:
      provider: pages
      local-dir: target/site
      skip-cleanup: true
      github-token: $GITHUB_TOKEN
      keep-history: false
      target-branch: gh-pages
      email: <EMAIL>
      name: Blended Development
      verbose: true
      on:
        branch: master<commit_msg>Updating .travis.yml<commit_after>language: scala

scala: 2.12.7

jdk: oraclejdk8

script:
- sbt ciBuild

cache:
  directories:
  - "$HOME/.m2"
  - "$HOME/.ivy2"
  - "$HOME/.sbt"

before_install:
  - sudo apt-get update
  - sudo apt-get install graphviz
  - openssl aes-256-cbc -K $encrypted_e8464d595ae2_key -iv $encrypted_e8464d595ae2_iv -in .dropbox_uploader.enc -out $HOME/.dropbox_uploader -d

before_cache:
  - rm -Rf $HOME/.ivy2/.sbt.ivy.lock ; rm -Rf $HOME/.ivy2/local ; rm -Rf $HOME/.m2/repository/de/wayofquality/blended

env:
  global:
    - TEST_ONLINE="true"
    # PGP_PASS
    - secure: "<KEY>
    # SONATYPE_USERNAME
    - secure: "<KEY>
    # SONATYPE_PASSWORD
    - secure: "<KEY>
    # CODACY_PROJECT_TOKEN
    - secure: "<KEY>
    # GITHUB_TOKEN
    - secure: "<KEY>

stages:
  - name: VerifyPublish
    if: branch = publish AND type = push
  - Test
  - name: Deploy
    if: branch = publish AND type = push
  - name: Site
    if: branch = master

jobs:
  include:
  - stage: VerifyPublish
    script: ./verifyPublish.sh
  - stage: Test
    before_script:
    - ./dropbox_uploader.sh list
    - build-akka.sh
    script:
    - sbt cleanCoverage unidoc
    after_failure:
    - ./upload-results.sh $TRAVIS_BUILD_NUMBER
    after_success:
    - ./upload-results.sh $TRAVIS_BUILD_NUMBER
  - stage: Deploy
    script: ./runPublish.sh
  - stage: Site
    before_script:
    - ./dropbox_uploader.sh download travis/$TRAVIS_BUILD_NUMBER/target.tgz target.tgz
    - tar -xzf target.tgz
    script:
    - sbt jbakeSite
    deploy:
      provider: pages
      local-dir: target/site
      skip-cleanup: true
      github-token: $GITHUB_TOKEN
      keep-history: false
      target-branch: gh-pages
      email: <EMAIL>
      name: Blended Development
      verbose: true
      on:
        branch: master
{'fraction_non_alphanumeric': 0.11476293103448276, 'fraction_numerical': 0.015894396551724137, 'mean_word_length': 2.428439519852262, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '164411', 'n_tokens_mistral': 1440, 'n_tokens_neox': 1397, 'n_words': 303}