sudo: required

language: java
before_install:
  - mkdir ci-dependencies
  - cd ci-dependencies
  - curl -O https://openskywalking.github.io/skywalking-ci-assist/jars/ojdbc14-10.2.0.4.0.jar
  - curl -O https://openskywalking.github.io/skywalking-ci-assist/jars/resin-4.0.41.jar
  - cd ..

install:
  - jdk_switcher use oraclejdk8
  - mvn clean install -Ptravis-ci-submodule --quiet jacoco:report coveralls:report
  - mvn clean javadoc:javadoc -Dmaven.test.skip=true --quiet


sudo: required

cache:
  directories:
    - "$HOME/.m2"

language: java
before_install:
  - mkdir ci-dependencies
  - cd ci-dependencies
  - curl -O https://openskywalking.github.io/skywalking-ci-assist/jars/ojdbc14-10.2.0.4.0.jar
  - curl -O https://openskywalking.github.io/skywalking-ci-assist/jars/resin-4.0.41.jar
  - cd ..

install:
  - jdk_switcher use oraclejdk8
  - mvn clean install -Ptravis-ci-submodule --quiet jacoco:report coveralls:report
  - mvn clean javadoc:javadoc -Dmaven.test.skip=true --quiet


Support m2 cache in CI.
Support m2 cache in CI.
