diff --git a/.travis.yml b/.travis.yml index bc877c5e..f547cf5e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,7 @@ before_script: - script/travis_memo.sh 0.9.2 script: + - jdk_switcher use openjdk8 - ./consul agent -server -bootstrap -advertise=127.0.0.1 -data-dir /tmp/consul -config-file=./config.json 1>/dev/null & - ./etcd/etcd --listen-client-urls 'http://0.0.0.0:4001' --advertise-client-urls 'http://127.0.0.1:4001' >/dev/null 2>&1 & - ./script/travis_start_zk.sh