<commit_before>language: java
env:
  global:
      - MAVEN_OPTS="-XX:MaxPermSize=512m -Xmx2048m -Xms1024m"  
jdk:
  - oraclejdk8
sudo: false
# TODO: Gross until Travis support setting maven version or upgrades to 3.3
before_install:
  - wget http://mirrors.ircam.fr/pub/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
  - tar zxvf apache-maven-3.3.9-bin.tar.gz
  - chmod +x apache-maven-3.3.9/bin/mvn
  - export M2_HOME=$PWD/apache-maven-3.3.9
  - export PATH=$PWD/apache-maven-3.3.9/bin:${PATH}
  - hash -r
before_script:
  - export M2_HOME=$PWD/apache-maven-3.3.9
  - export PATH=$PWD/apache-maven-3.3.9/bin:${PATH}
  - hash -r
script:
- mkdir -p org.obeonetwork.capella.update/target/repository/
- touch org.obeonetwork.capella.update/target/repository/update-site.txt
- mvn clean package -e -Dgpg.skip=true
- chmod a+x prepare-deploy-local-dir.sh
- "./prepare-deploy-local-dir.sh $TRAVIS_BUILD_DIR/nightly"
after_script:
- chmod a+x travis-promote.sh
- ./travis-promote.sh
deploy:  
  - provider: s3
    access_key_id: AKIAI7GYGSUKTIBLAI6Q
    secret_access_key:
      secure: AkQHXay2Qful1BTGlS8EqR5uardszIoZVoxuYykNSQt34FtK43jL5nt/uaKckwDUjoHP4EhFpM/AW6bE6NSm0XVFSC3i3COsPxF4TjWj3cCcMZ8HwyIhm9gl6nb8mZnRWmhRbgoRxxpHkpBAk2bTIdBpKFPQxCNR0m8nrEGWD78=
    bucket: obeo-networkaggregation-releases
    local-dir: "${TRAVIS_BUILD_DIR}/nightly"
    acl: public_read
    skip_cleanup: true
    region: eu-west-1
    upload-dir: capella-extensions/${TRAVIS_BRANCH}
    on:
      all_branches: true
      repo: ObeoNetwork/Capella-Extensions
<commit_msg>add s3 key<commit_after>language: java
env:
  global:
  - MAVEN_OPTS="-XX:MaxPermSize=512m -Xmx2048m -Xms1024m"
jdk:
- oraclejdk8
sudo: false
before_install:
- wget http://mirrors.ircam.fr/pub/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
- tar zxvf apache-maven-3.3.9-bin.tar.gz
- chmod +x apache-maven-3.3.9/bin/mvn
- export M2_HOME=$PWD/apache-maven-3.3.9
- export PATH=$PWD/apache-maven-3.3.9/bin:${PATH}
- hash -r
before_script:
- export M2_HOME=$PWD/apache-maven-3.3.9
- export PATH=$PWD/apache-maven-3.3.9/bin:${PATH}
- hash -r
script:
- mkdir -p org.obeonetwork.capella.update/target/repository/
- touch org.obeonetwork.capella.update/target/repository/update-site.txt
- mvn clean package -e -Dgpg.skip=true
- chmod a+x prepare-deploy-local-dir.sh
- "./prepare-deploy-local-dir.sh $TRAVIS_BUILD_DIR/nightly"
after_script:
- chmod a+x travis-promote.sh
- "./travis-promote.sh"
deploy:
  matrix:
  - provider: s3
    access_key_id: AKIAI7GYGSUKTIBLAI6Q
    secret_access_key:
    <KEY>
    bucket: obeo-networkaggregation-releases
    local-dir: "${TRAVIS_BUILD_DIR}/nightly"
    acl: public_read
    skip_cleanup: true
    region: eu-west-1
    upload-dir: capella-extensions/${TRAVIS_BRANCH}
    on:
      all_branches: true
      repo: ObeoNetwork/Capella-Extensions
  secret_access_key:

{'fraction_non_alphanumeric': 0.13483535528596188, 'fraction_numerical': 0.03986135181975736, 'mean_word_length': 3.6699029126213594, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '1292156', 'n_tokens_mistral': 1311, 'n_tokens_neox': 1234, 'n_words': 173}