dependencies:
  cache_directories:
    - "~/.opam"
  override:
    - 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:
        timeout: 1200

test:
  override:
    - eval `opam config env` && make -j4

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:
        timeout: 1200
  override:
    - make spark2-runtime

test:
  override:
    - eval `opam config env` && make -j4

Build Spark 2 runtime earlier
Build Spark 2 runtime earlier
