dist: bionic

language: java

matrix:
  include:
    - jdk: openjdk8
      env: IDEA_VERSION="2019.3.5" COVERALLS=true SONARQUBE=true
    - jdk: openjdk8
      env: IDEA_VERSION="2019.3.5"
    - jdk: openjdk8
      env: IDEA_VERSION="2020.1.4"
    - jdk: openjdk8
      env: IDEA_VERSION="2020.2.3"
    - jdk: openjdk11
      env: IDEA_VERSION="2020.2.3"
    - jdk: openjdk8
      env: IDEA_VERSION="LATEST-EAP-SNAPSHOT"
    - jdk: openjdk11
      env: IDEA_VERSION="LATEST-EAP-SNAPSHOT"
  allow_failures:
    - jdk: openjdk8
      env: IDEA_VERSION="LATEST-EAP-SNAPSHOT"
    - jdk: openjdk11
      env: IDEA_VERSION="LATEST-EAP-SNAPSHOT"

install: ./gradlew -P ideaVersion=$IDEA_VERSION assemble

script: ./gradlew -P ideaVersion=$IDEA_VERSION build

after_success:
  - if [ "$COVERALLS" == "true" ]; then ./gradlew -P ideaVersion=$IDEA_VERSION cobertura coveralls; fi
  - if [ "$SONARQUBE" == "true" ] && [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./gradlew sonarqube -Dsonar.login=$SONAR_TOKEN; fi

dist: bionic

language: java

matrix:
  include:
    - jdk: openjdk8
      env: IDEA_VERSION="2019.3.5" COVERALLS=true SONARQUBE=true
    - jdk: openjdk8
      env: IDEA_VERSION="2020.1.4"
    - jdk: openjdk8
      env: IDEA_VERSION="2020.2.3"
    - jdk: openjdk11
      env: IDEA_VERSION="2020.2.3"
    - jdk: openjdk8
      env: IDEA_VERSION="LATEST-EAP-SNAPSHOT"
    - jdk: openjdk11
      env: IDEA_VERSION="LATEST-EAP-SNAPSHOT"
  allow_failures:
    - jdk: openjdk8
      env: IDEA_VERSION="LATEST-EAP-SNAPSHOT"
    - jdk: openjdk11
      env: IDEA_VERSION="LATEST-EAP-SNAPSHOT"

install: ./gradlew -P ideaVersion=$IDEA_VERSION assemble

script: ./gradlew -P ideaVersion=$IDEA_VERSION build

after_success:
  - if [ "$COVERALLS" == "true" ]; then ./gradlew -P ideaVersion=$IDEA_VERSION cobertura coveralls; fi
  - if [ "$SONARQUBE" == "true" ] && [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./gradlew sonarqube -Dsonar.login=$SONAR_TOKEN; fi

Test sorting in nonstandard block
Test sorting in nonstandard block
