TravisCI: change dist to xenial

- Change distribution to `xenial`
- Remove custom mongodb 4.0 installation since xenial ships with 4.0
- Increase wait time from 5 to 15 seconds
This commit is contained in:
Chris Broome 2018-12-04 22:33:34 -05:00
parent 9d34fc0231
commit 8102c42888
No known key found for this signature in database
GPG key ID: 1069B8DCF35855B0
2 changed files with 2 additions and 2 deletions

View file

@ -1,8 +1,8 @@
language: clojure
sudo: required
lein: lein
dist: xenial
before_script:
- ./bin/ci/install_mongodb.sh
- mongod --version
- ./bin/ci/before_script.sh
script: lein do clean, javac, test

View file

@ -1,7 +1,7 @@
#!/bin/sh
# MongoDB seems to need some time to boot first. MK.
sleep 5
sleep 15
# MongoDB Java driver won't run authentication twice on the same DB instance,
# so we need to use multiple DBs.