It seems like OPM support for Dune 2.3 is going to be removed sooner
rather than later. Also, all relevant distributions which I'm aware of
seem to ship at least Dune-2.4 packages.
note that this patch switches to Dune 2.4.1 instead of the latest Dune
2.4 release (i.e., 2.4.2) because travis seems to block downloads from
sites it does not know -- in this case dune-project.org -- and the
Dune github mirrors seem to have been abandoned a few months ago and
thus do not feature dune 2.4.2.
1. travis/build-prereqs.sh will build all the from-source dependencies;
i.e. dune, superLU and ert.
2. travis/clone-opm.sh will clone all opm modules, except the module
given as commandline argument; it is assumed that travis has already
fetched and merged the correct ref of this repo.
3. travis/build-and-test.sh will build all upstream modules and then
build and test the module given as commandline argument including
all downstream modules:
travis/build-and-test.sh opm-output
With this the .travis.yml file can be nearly identical for each module,
e.g. for opm-output the before_script and script sections will be:
before_script:
- export CXX="g++-4.8" CC="gcc-4.8" FC="gfortran-4.8"
- cd ..
- opm-common/travis/build-prereqs.sh
- opm-common/travis/clone-opm.sh opm-output
script: opm-common/travis/build-and-test.sh opm-output