<commit_before>sudo: required
language: java
jdk:
- oraclejdk8
notifications:
  email: false
services:
- docker
before_install:
- docker pull ppatierno/qdrouterd:0.8.0-repo
- docker run -d --name qdrouterd -p 5672:5672 -p 55673:55673 -v $TRAVIS_BUILD_DIR/src/test/resources:/conf
  ppatierno/qdrouterd:0.8.0-repo qdrouterd --conf /conf/qdrouterd.conf
script:
- TAG=1.0-SNAPSHOT
- if [ -n "${TRAVIS_TAG}" ]; then TAG=${TRAVIS_TAG}; mvn versions:set -DgenerateBackupPoms=false -DnewVersion=${TRAVIS_TAG};
  fi
- mvn test -B
- curl -s https://raw.githubusercontent.com/EnMasseProject/travis-scripts/master/generate-bintray-descriptor.sh
  | bash /dev/stdin mqtt-gateway target/mqtt-gateway-${TAG}-bin.tar.gz > .bintray.json
- curl -s https://raw.githubusercontent.com/EnMasseProject/travis-scripts/master/docker-build.sh
  | bash /dev/stdin enmasseproject/mqtt-gateway .
after_success:
- curl -s https://raw.githubusercontent.com/EnMasseProject/travis-scripts/master/trigger-travis.sh
  | bash /dev/stdin
env:
  global:
  - COMMIT=${TRAVIS_COMMIT::8}
  - secure: <KEY>
  - secure: <KEY>
  - secure: <KEY>
  - secure: RuruaogxvbAVA6K1bzKLum+otd4WCsMHLzzVvOzcKI+U9HibCQa4r7u+4+WOVDVnTveFwPXtRXw4VDyhjE3JznHJ7h/3CN0T2LMmHsC6H06R/TEznwU1uzfuL8J74dQVRLaE8Rh4KOshLSeKSu2sBKMGIYI8MFvOTZBKewiAqQOCE3I042ho2K2zPeCa62mBUhnh+qY4au1ZlNrgDIxo5iTZgt0HESZyTdpiF8ZJf2+kRR8pxJlqOmU2idaMbglu4SeHti3dpwmSy2PmYa4aURVptSHG+paeFe9ssrioAhSzrM9yRCWDe25E/ECFd0DwP6Ds3/wU/RNf6zq2rtofabpnUgHPpgf+9spOr3Bi1VbPk16PtvBkc2e6djYKZfKZoWWHhqg7kOAb8w7vHXPJSwSqHBk8dTvsL4P2yn/i1SyhHqwMa9ctwCsXbnzvmOOoP5FIj3AxjVKUwgBDTxc6VSTfCw3tAM67bCVT1kYk+wCGrhtxJRa7OiBh/yklE9rCdKAWNSFa7k7663Cfe6wFTbD04wBjzLUgf57Gs4EYL5K2QwvxVObFZHUSmCuwWGODLJlbP5oPa49zEXOcEHRBfcQIDFt1OI7hIVmVWL992liUPzkPoq0INuH8b0FteZxX9CAWPyoHtMxkI+lETD9NA61W5vY4BkXWLJvfNdFpbmg=
deploy:
  - provider: bintray
    file: ".bintray.json"
    user: "${BINTRAY_API_USER}"
    on:
      tags: true
    key:
      secure: <KEY>
  - provider: bintray
    file: ".bintray.json"
    user: "${BINTRAY_API_USER}"
    key:
      secure: RYUC0HxnM/xhDspRL1KlYyMCi+R/Dt+q/5f1NuXPMSR7+q5N4btpCU2lnrHrSOAN+bNfegA62/IAoxbdB0romAFrYfVJhAc5/dOIHovuAmynDkVSzI4SHcI4UMJEkeBkhmQWqxaUDc22IRtPkWG1hNek4du/R1Ogv2VThsf7o6XK2peWfRjT4qrvMW/sZSgfLTg36cXJ0IUOgkocDsmg+PVsvEfVkmPMIJM9WSVF8i1/eGQqqsf4lyysaNLqV8HVgT8c5A4wOEfj36aIqoOpSv1zm4Osr+BU7kl1QFoggpIFqEGLx6eI7chXZNDAASsxnild2jH5ZSvBCLxocRdvCGa23R3yd71XdNng71cLG8GTORkNQIePLyfrAyh3rirnykBHMxNjXlF1c8rNJWrGa8fB3Thtd4aK6cvyIFX2yo/iP0BR52wtKQytMV755CF0xhTE/67IQ85MzzLwuKY0arfdPHHWG1rCGACjPs54UlTWEQGFX1FSXqRQQKSwkzPnwRgBMg0CwsXYfJg0tsLgfRSmmHhRE3NKCREMEMngHP+Zn9tXm7QCY8v6ndaT28psz/twsy1YlJBn83ZGVWvormF1/tAhAxt1dKJpC6UhrDnBF18mp2yyxhvr1Y/F4qoBdN0rJXFBIkCCFs1vONMWOJrxH0fNyXxLfSf+WK3JuOE=<commit_msg>Set correct version in docker image<commit_after>sudo: required
language: java
jdk:
- oraclejdk8
notifications:
  email: false
services:
- docker
before_install:
- docker pull ppatierno/qdrouterd:0.8.0-repo
- docker run -d --name qdrouterd -p 5672:5672 -p 55673:55673 -v $TRAVIS_BUILD_DIR/src/test/resources:/conf
  ppatierno/qdrouterd:0.8.0-repo qdrouterd --conf /conf/qdrouterd.conf
script:
- TAG=${TRAVIS_TAG:-"1.0-SNAPSHOT"}
- if [ -n "${TRAVIS_TAG}" ]; then mvn versions:set -DgenerateBackupPoms=false -DnewVersion=${TRAVIS_TAG};
  fi
- mvn test -B
- curl -s https://raw.githubusercontent.com/EnMasseProject/travis-scripts/master/generate-bintray-descriptor.sh
  | bash /dev/stdin mqtt-gateway target/mqtt-gateway-${TAG}-bin.tar.gz > .bintray.json
- curl -s https://raw.githubusercontent.com/EnMasseProject/travis-scripts/master/docker-build.sh
  | bash /dev/stdin enmasseproject/mqtt-gateway . $TAG
after_success:
- curl -s https://raw.githubusercontent.com/EnMasseProject/travis-scripts/master/trigger-travis.sh
  | bash /dev/stdin
env:
  global:
  - COMMIT=${TRAVIS_COMMIT::8}
  - secure: <KEY>
  - <KEY>
  - <KEY>
  - secure: RuruaogxvbAVA6K1bzKLum+otd4WCsMHLzzVvOzcKI+U9HibCQa4r7u+4+WOVDVnTveFwPXtRXw4VDyhjE3JznHJ7h/3CN0T2LMmHsC6H06R/TEznwU1uzfuL8J74dQVRLaE8Rh4KOshLSeKSu2sBKMGIYI8MFvOTZBKewiAqQOCE3I042ho2K2zPeCa62mBUhnh+qY4au1ZlNrgDIxo5iTZgt0HESZyTdpiF8ZJf2+kRR8pxJlqOmU2idaMbglu4SeHti3dpwmSy2PmYa4aURVptSHG+paeFe9ssrioAhSzrM9yRCWDe25E/ECFd0DwP6Ds3/wU/RNf6zq2rtofabpnUgHPpgf+9spOr3Bi1VbPk16PtvBkc2e6djYKZfKZoWWHhqg7kOAb8w7vHXPJSwSqHBk8dTvsL4P2yn/i1SyhHqwMa9ctwCsXbnzvmOOoP5FIj3AxjVKUwgBDTxc6VSTfCw3tAM67bCVT1kYk+wCGrhtxJRa7OiBh/yklE9rCdKAWNSFa7k7663Cfe6wFTbD04wBjzLUgf57Gs4EYL5K2QwvxVObFZHUSmCuwWGODLJlbP5oPa49zEXOcEHRBfcQIDFt1OI7hIVmVWL992liUPzkPoq0INuH8b0FteZxX9CAWPyoHtMxkI+lETD9NA61W5vY4BkXWLJvfNdFpbmg=
deploy:
  - provider: bintray
    file: ".bintray.json"
    user: "${BINTRAY_API_USER}"
    on:
      tags: true
    key:
      secure: <KEY>
  - provider: bintray
    file: ".bintray.json"
    user: "${BINTRAY_API_USER}"
    key:
      secure: <KEY>
{'fraction_non_alphanumeric': 0.09625779625779626, 'fraction_numerical': 0.07713097713097714, 'mean_word_length': 6.612341772151899, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 14, 'https://': 6, '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': '5026631', 'n_tokens_mistral': 2792, 'n_tokens_neox': 2600, 'n_words': 198}