diff --git a/.travis.yml b/.travis.yml index 62d76e3..745a331 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,15 +3,17 @@ sudo: required lein: lein dist: xenial before_script: + # Give MongoDB server some time to boot + - sleep 15 - mongod --version - ./bin/ci/before_script.sh script: lein do clean, javac, test jdk: - oraclejdk8 - - oraclejdk9 + - oraclejdk11 services: - mongodb branches: only: - master - - 3.0.x-stable + - 3.5.x-stable diff --git a/bin/ci/before_script.sh b/bin/ci/before_script.sh index 77f1a97..fae6dd8 100755 --- a/bin/ci/before_script.sh +++ b/bin/ci/before_script.sh @@ -1,8 +1,5 @@ #!/bin/sh -# MongoDB seems to need some time to boot first. MK. -sleep 15 - # MongoDB Java driver won't run authentication twice on the same DB instance, # so we need to use multiple DBs. mongo --eval 'db.createUser({"user": "clojurewerkz/monger", "pwd": "monger", roles: ["dbAdmin"], mechanisms: ["SCRAM-SHA-1"], passwordDigestor: "client"})' monger-test