<commit_before>branches:
  only:
    - staging
    - master
    - trying

language: java

jdk: oraclejdk8

env:
  global:
    - OLD_RUST_VERSION=1.28.0
    - CURRENT_RUST_VERSION=1.34.0
    - NIGHLY_RUST_VERSION=nightly-2019-04-23
    - RUST_SRC_WITH_SYMLINK=$HOME/.rust-src

matrix:
  include:
    # 183 platform
    - name: idea-183/old-rust
      env: RUST_VERSION=$OLD_RUST_VERSION ORG_GRADLE_PROJECT_platformVersion=183 ORG_GRADLE_PROJECT_ideaVersion=2018.3.2
    - name: idea-183/stable-rust
      env: RUST_VERSION=$CURRENT_RUST_VERSION ORG_GRADLE_PROJECT_platformVersion=183
    - name: clion-183/stable-rust
      env: RUST_VERSION=$CURRENT_RUST_VERSION ORG_GRADLE_PROJECT_platformVersion=183 ORG_GRADLE_PROJECT_baseIDE=clion
    # 191 platform
    - name: idea-191/nightly-rust
      env: RUST_VERSION=$NIGHLY_RUST_VERSION ORG_GRADLE_PROJECT_platformVersion=191
    - name: clion-191/nightly-rust
      env: RUST_VERSION=$NIGHLY_RUST_VERSION ORG_GRADLE_PROJECT_platformVersion=191 ORG_GRADLE_PROJECT_baseIDE=clion

install: true

before_script:
  - curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain $RUST_VERSION -y
  - export PATH=$HOME/.cargo/bin:$PATH
  - rustup component add rust-src
  - if [ $RUST_VERSION != $OLD_RUST_VERSION ]; then rustup component add clippy-preview; fi # BACKCOMPAT: Rust 1.28.0
  - rustup component add rustfmt-preview
  - ln -s $(rustc --print sysroot)/lib/rustlib/src/rust/src $RUST_SRC_WITH_SYMLINK
  - ./check-license.sh<commit_msg>CI: run plugin tests with 2019.2 platform on travis<commit_after>branches:
  only:
    - staging
    - master
    - trying

language: java

jdk: oraclejdk8

env:
  global:
    - OLD_RUST_VERSION=1.28.0
    - CURRENT_RUST_VERSION=1.34.0
    - NIGHLY_RUST_VERSION=nightly-2019-04-23
    - RUST_SRC_WITH_SYMLINK=$HOME/.rust-src

matrix:
  include:
    # 183 platform
    - name: idea-183/old-rust
      env: RUST_VERSION=$OLD_RUST_VERSION ORG_GRADLE_PROJECT_platformVersion=183 ORG_GRADLE_PROJECT_ideaVersion=2018.3.2
    - name: idea-183/stable-rust
      env: RUST_VERSION=$CURRENT_RUST_VERSION ORG_GRADLE_PROJECT_platformVersion=183
    - name: clion-183/stable-rust
      env: RUST_VERSION=$CURRENT_RUST_VERSION ORG_GRADLE_PROJECT_platformVersion=183 ORG_GRADLE_PROJECT_baseIDE=clion
    # 191 platform
    - name: idea-191/nightly-rust
      env: RUST_VERSION=$NIGHLY_RUST_VERSION ORG_GRADLE_PROJECT_platformVersion=191
    - name: clion-191/nightly-rust
      env: RUST_VERSION=$NIGHLY_RUST_VERSION ORG_GRADLE_PROJECT_platformVersion=191 ORG_GRADLE_PROJECT_baseIDE=clion
    # 192 platform
    - name: idea-192/nightly-rust
      env: RUST_VERSION=$NIGHLY_RUST_VERSION ORG_GRADLE_PROJECT_platformVersion=192
    - name: clion-192/nightly-rust
      env: RUST_VERSION=$NIGHLY_RUST_VERSION ORG_GRADLE_PROJECT_platformVersion=192 ORG_GRADLE_PROJECT_baseIDE=clion

install: true

before_script:
  - curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain $RUST_VERSION -y
  - export PATH=$HOME/.cargo/bin:$PATH
  - rustup component add rust-src
  - if [ $RUST_VERSION != $OLD_RUST_VERSION ]; then rustup component add clippy-preview; fi # BACKCOMPAT: Rust 1.28.0
  - rustup component add rustfmt-preview
  - ln -s $(rustc --print sysroot)/lib/rustlib/src/rust/src $RUST_SRC_WITH_SYMLINK
  - ./check-license.sh
{'fraction_non_alphanumeric': 0.09572856710087853, 'fraction_numerical': 0.04422902150863375, 'mean_word_length': 3.94311377245509, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3127405', 'n_tokens_mistral': 1355, 'n_tokens_neox': 1255, 'n_words': 198}