language: scala

cache:
  directories:
    - $HOME/.m2/repository/
    - $HOME/.ivy2/cache/
    - $HOME/.sbt/boot/
    - $HOME/.coursier

sudo: false

branches:
  only:
    - develop

matrix:
  include:
  - env: PROJECT=checkstyle
    jdk: oraclejdk8
    script:
    - ./sbt jcheckStyle
  - env: PROJECT=java8
    jdk: oraclejdk8
    script:
    - ./sbt test
    - ./sbt test -J-Dmsgpack.universal-buffer=true
  - env: PROJECT=java11
    jdk: openjdk11
    script:
    - ./sbt test
    - ./sbt test -J-Dmsgpack.universal-buffer=true

language: scala

# With xenial, `Installing oraclejdk8` fails due to "Expected feature release number in range of 9 to 14, but got: 8"
dist: trusty

cache:
  directories:
    - $HOME/.m2/repository/
    - $HOME/.ivy2/cache/
    - $HOME/.sbt/boot/
    - $HOME/.coursier

sudo: false

branches:
  only:
    - develop

matrix:
  include:
  - env: PROJECT=checkstyle
    jdk: oraclejdk8
    script:
    - ./sbt jcheckStyle
  - env: PROJECT=java8
    jdk: oraclejdk8
    script:
    - ./sbt test
    - ./sbt test -J-Dmsgpack.universal-buffer=true
  - env: PROJECT=java11
    jdk: openjdk11
    script:
    - ./sbt test
    - ./sbt test -J-Dmsgpack.universal-buffer=true

Add a workaround for Travis CI error
Add a workaround for Travis CI error
