machine:
  pre:
    - export DEBIAN_FRONTEND=noninteractive && sudo apt-get remove -y --purge mysql-server mysql-community-server couchdb mongodb-org*
dependencies:
  cache_directories:
    - "~/.opam"
  pre:
    - sudo add-apt-repository -y ppa:avsm/ppa
    - sudo apt-get -qq update
    - sudo apt-get install -y ocaml-nox ocaml-native-compilers opam
    - opam init -a
    - opam install -y menhir ocamlbuild camlp5 coq js_of_ocaml:
        timeout: 1200
  override:
    - make spark2-runtime

test:
  override:
    - eval `opam config env` && make -j1 && make jsapi

machine:
  pre:
    - export DEBIAN_FRONTEND=noninteractive && sudo apt-get remove -y --purge mysql-server mysql-community-server
dependencies:
  cache_directories:
    - "~/.opam"
  pre:
    - sudo add-apt-repository -y ppa:avsm/ppa
    - sudo apt-get -qq update
    - sudo apt-get install -y ocaml-nox ocaml-native-compilers opam
    - opam init -a
    - opam install -y menhir ocamlbuild camlp5 coq js_of_ocaml:
        timeout: 1200
  override:
    - make spark2-runtime

test:
  override:
    - eval `opam config env` && make -j1 && make jsapi

Revert "Remove some more databases"
Revert "Remove some more databases"

This reverts commit 3f738e9f4a050d6342e9200d77b015ea53f09b44.

Hopefully the build will be more stable again after this...
