<commit_before>sudo: required
dist: trusty
services:
    - docker

env:
    global:
        - secure: "<KEY>
        - secure: "<KEY>
        - GRADLE_VERSION='4.1'
language: java
jdk:
    - oraclejdk8
    - openjdk8
before_install:
    - ( cd $HOME && curl -LO "https://services.gradle.org/distributions/gradle-$GRADLE_VERSION-bin.zip" )
    - ( cd $HOME && unzip -q gradle-$GRADLE_VERSION-bin.zip && rm gradle-$GRADLE_VERSION-bin.zip )
    - export PATH=$HOME/gradle-$GRADLE_VERSION/bin:$PATH && hash -r && gradle --version
script:
    - gradle test
    - gradle checkstyle{Main,Test}
    - gradle testJar
    - docker build -t rxb .
    - scripts/test rx.broadcast.integration.SingleSourceFifoOrderUdpBroadcastTest 'sudo tc qdisc add dev "${DOCKER_IFACE%%@if+([0-9])}" root netem delay 100ms 75ms'
    - scripts/test rx.broadcast.integration.NoOrderUdpBroadcastTest
    - scripts/test-table-tennis rx.broadcast.integration.pp.PingPongUdpNoOrder
    - scripts/test-table-tennis rx.broadcast.integration.pp.PingPongUdpNoOrderKryoSerializer
    - scripts/test-table-tennis rx.broadcast.integration.pp.PingPongUdpNoOrderObjectSerializer
    - scripts/test-table-tennis rx.broadcast.integration.pp.PingPongUdpSingleSourceFifoOrder
    - scripts/test-table-tennis rx.broadcast.integration.pp.PingPongUdpSingleSourceFifoOrderKryoSerializer
    - scripts/test-table-tennis rx.broadcast.integration.pp.PingPongUdpSingleSourceFifoOrderObjectSerializer
    - scripts/test-table-tennis rx.broadcast.integration.pp.PingPongUdpSingleSourceFifoOrderProtobufSerializer
    - scripts/test-table-tennis rx.broadcast.integration.pp.PingPongUdpCausalOrder
    - scripts/test-table-tennis rx.broadcast.integration.pp.PingPongUdpCausalOrderKryoSerializer
    - scripts/test-table-tennis rx.broadcast.integration.pp.PingPongUdpCausalOrderObjectSerializer
    - scripts/test-table-tennis rx.broadcast.integration.pp.PingPongUdpCausalOrderProtobufSerializer
jobs:
    include:
        - stage: "Static analysis"
          jdk: oraclejdk8
          addons:
              apt:
                  sources:
                      - avsm
                  packages:
                      - aspcud
                      - autoconf
                      - automake
                      - gcc
                      - g++
                      - git
                      - groff-base
                      - libc6-dev
                      - libgmp-dev
                      - libmpc-dev
                      - libmpfr-dev
                      - m4
                      - make
                      - ncurses-dev
                      - ocaml
                      - opam
                      - pkg-config
                      - python2.7
                      - rsync
                      - unzip
                      - zlib1g-dev
          env:
              - INFER_VERSION='0.12.0'
              - INFER_DIRECTORY='/opt/infer'
          cache:
              directories:
                  - "$INFER_DIRECTORY"
          script: scripts/infer
        - script: gradle findBugs{Main,Test}
deploy:
    provider: script<commit_msg>Add Error Prone to static analysis build stage<commit_after>sudo: required
dist: trusty
services:
    - docker

env:
    global:
        - secure: "<KEY>
        - secure: "<KEY>
        - GRADLE_VERSION='4.1'
language: java
jdk:
    - oraclejdk8
    - openjdk8
before_install:
    - ( cd $HOME && curl -LO "https://services.gradle.org/distributions/gradle-$GRADLE_VERSION-bin.zip" )
    - ( cd $HOME && unzip -q gradle-$GRADLE_VERSION-bin.zip && rm gradle-$GRADLE_VERSION-bin.zip )
    - export PATH=$HOME/gradle-$GRADLE_VERSION/bin:$PATH && hash -r && gradle --version
script:
    - gradle test
    - gradle checkstyle{Main,Test}
    - gradle testJar
    - docker build -t rxb .
    - scripts/test rx.broadcast.integration.SingleSourceFifoOrderUdpBroadcastTest 'sudo tc qdisc add dev "${DOCKER_IFACE%%@if+([0-9])}" root netem delay 100ms 75ms'
    - scripts/test rx.broadcast.integration.NoOrderUdpBroadcastTest
    - scripts/test-table-tennis rx.broadcast.integration.pp.PingPongUdpNoOrder
    - scripts/test-table-tennis rx.broadcast.integration.pp.PingPongUdpNoOrderKryoSerializer
    - scripts/test-table-tennis rx.broadcast.integration.pp.PingPongUdpNoOrderObjectSerializer
    - scripts/test-table-tennis rx.broadcast.integration.pp.PingPongUdpSingleSourceFifoOrder
    - scripts/test-table-tennis rx.broadcast.integration.pp.PingPongUdpSingleSourceFifoOrderKryoSerializer
    - scripts/test-table-tennis rx.broadcast.integration.pp.PingPongUdpSingleSourceFifoOrderObjectSerializer
    - scripts/test-table-tennis rx.broadcast.integration.pp.PingPongUdpSingleSourceFifoOrderProtobufSerializer
    - scripts/test-table-tennis rx.broadcast.integration.pp.PingPongUdpCausalOrder
    - scripts/test-table-tennis rx.broadcast.integration.pp.PingPongUdpCausalOrderKryoSerializer
    - scripts/test-table-tennis rx.broadcast.integration.pp.PingPongUdpCausalOrderObjectSerializer
    - scripts/test-table-tennis rx.broadcast.integration.pp.PingPongUdpCausalOrderProtobufSerializer
jobs:
    include:
        - stage: "Static analysis"
          jdk: oraclejdk8
          addons:
              apt:
                  sources:
                      - avsm
                  packages:
                      - aspcud
                      - autoconf
                      - automake
                      - gcc
                      - g++
                      - git
                      - groff-base
                      - libc6-dev
                      - libgmp-dev
                      - libmpc-dev
                      - libmpfr-dev
                      - m4
                      - make
                      - ncurses-dev
                      - ocaml
                      - opam
                      - pkg-config
                      - python2.7
                      - rsync
                      - unzip
                      - zlib1g-dev
          env:
              - INFER_VERSION='0.12.0'
              - INFER_DIRECTORY='/opt/infer'
          cache:
              directories:
                  - "$INFER_DIRECTORY"
          script: scripts/infer
        - script: gradle findBugs{Main,Test}
        - script: gradle errorProne
deploy:
    provider: script
{'fraction_non_alphanumeric': 0.08881107751074327, 'fraction_numerical': 0.00668470475887315, 'mean_word_length': 1.6797441364605543, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '591969', 'n_tokens_mistral': 1981, 'n_tokens_neox': 1840, 'n_words': 273}