addons: 
  apt:
    packages:
      - graphviz
before_cache: 
  - "rm -rf $HOME/.m2/repository/org/ligoj/bootstrap"
  - "find $HOME/.m2 -name resolver-status.properties -exec rm {} \\;"
before_install: 
  - "chmod +x ./travis.sh"
  - wget https://github.com/sormuras/bach/raw/master/install-jdk.sh
cache: 
  directories: 
    - $HOME/.m2/repository
    - $HOME/.sonar/cache
    - $HOME/jvm
    - $HOME/maven
env: 
  - TARGET=BUILD JDK='OpenJDK 10'
install: . ./install-jdk.sh -F 10 -W ${HOME}/jvm
branches:
  only:
    - master
    - dev
language: java
notifications: 
  email: false
script: "./travis.sh"
sudo: false

addons: 
  apt:
    packages:
      - graphviz
before_cache: 
  - "rm -rf $HOME/.m2/repository/org/ligoj/bootstrap"
  - "find $HOME/.m2 -name resolver-status.properties -exec rm {} \\;"
before_install: 
  - "chmod +x ./travis.sh"
  - wget https://github.com/sormuras/bach/raw/master/install-jdk.sh
cache: 
  directories: 
    - $HOME/.m2/repository
    - $HOME/.sonar/cache
    - $HOME/jvm
    - $HOME/maven
env: 
  - TARGET=BUILD JDK='OpenJDK 10'
install: . ./install-jdk.sh -F 10 -L BCL -W ${HOME}/jvm
branches:
  only:
    - master
    - dev
language: java
notifications: 
  email: false
script: "./travis.sh"
sudo: false

Fix OracleJDK swittcher for TravisCI
Fix OracleJDK swittcher for TravisCI
