language: java
jdk:
  - oraclejdk8
script:
  - mvn test
install:
  - mvn --settings ../travis/settings.xml install -DskipTests=true -Dgpg.skip -Dmaven.javadoc.skip=true -B -V
before_install:
  - cd jacobi
  - if [ ! -z "$GPG_SECRET_KEYS" ]; then echo $GPG_SECRET_KEYS | base64 --decode | $GPG_EXECUTABLE --import; fi
  - if [ ! -z "$GPG_OWNERTRUST" ]; then echo $GPG_OWNERTRUST | base64 --decode | $GPG_EXECUTABLE --import-ownertrust; fi
deploy:
  -
    provider: script
    script: chmod +x ../travis/deploy.sh && ../travis/deploy.sh
    skip_cleanup: true
    on:
      branch: master
  - 
    provider: script
    script: chmod +x ../travis/deploy.sh && ../travis/deploy.sh
    skip_cleanup: true
    on:
      tags: true
cache:
  directories:
    - ~/.m2/repository
after_success:
  - bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN
language: java
jdk:
  - oraclejdk10
script:
  - jdk_switcher use openjdk10
  - export JAVA_HOME=$HOME/openjdk11
  - $TRAVIS_BUILD_DIR/install-jdk.sh --install openjdk11 --target $JAVA_HOME
  - mvn test
install:
  - mvn --settings ../travis/settings.xml install -DskipTests=true -Dgpg.skip -Dmaven.javadoc.skip=true -B -V
before_install:
  - cd jacobi
  - if [ ! -z "$GPG_SECRET_KEYS" ]; then echo $GPG_SECRET_KEYS | base64 --decode | $GPG_EXECUTABLE --import; fi
  - if [ ! -z "$GPG_OWNERTRUST" ]; then echo $GPG_OWNERTRUST | base64 --decode | $GPG_EXECUTABLE --import-ownertrust; fi
deploy:
  -
    provider: script
    script: chmod +x ../travis/deploy.sh && ../travis/deploy.sh
    skip_cleanup: true
    on:
      branch: master
  - 
    provider: script
    script: chmod +x ../travis/deploy.sh && ../travis/deploy.sh
    skip_cleanup: true
    on:
      tags: true
cache:
  directories:
    - ~/.m2/repository
after_success:
  - bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN
Switch to JDK 10 in Travis CI
Switch to JDK 10 in Travis CI

Switch to JDK 10 in Travis CI
