Added Travis support
This commit is contained in:
+39
@@ -0,0 +1,39 @@
|
|||||||
|
language: cpp
|
||||||
|
|
||||||
|
compiler:
|
||||||
|
- gcc
|
||||||
|
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
sources:
|
||||||
|
- boost-latest
|
||||||
|
- ubuntu-toolchain-r-test
|
||||||
|
packages:
|
||||||
|
- libboost1.55-all-dev
|
||||||
|
- gcc-4.8
|
||||||
|
- g++-4.8
|
||||||
|
- gfortran-4.8
|
||||||
|
- liblapack-dev
|
||||||
|
- libgmp3-dev
|
||||||
|
- libsuitesparse-dev
|
||||||
|
- libeigen3-dev
|
||||||
|
|
||||||
|
install:
|
||||||
|
- export CXX="g++-4.8" CC="gcc-4.8" FC="gfortran-4.8"
|
||||||
|
- cd ..
|
||||||
|
|
||||||
|
- git clone https://github.com/OPM/opm-common.git
|
||||||
|
- git clone https://github.com/OPM/opm-parser.git
|
||||||
|
- git clone https://github.com/OPM/opm-material.git
|
||||||
|
- git clone https://github.com/OPM/opm-data.git
|
||||||
|
|
||||||
|
- opm-parser/travis/clone-and-build-ert.sh
|
||||||
|
- opm-material/travis/clone-and-build-dune-common.sh
|
||||||
|
- opm-core/travis/clone-and-build-dune-istl.sh
|
||||||
|
- opm-core/travis/clone-and-build-superlu.sh
|
||||||
|
|
||||||
|
- opm-common/travis/build-opm-common.sh
|
||||||
|
- opm-parser/travis/build-opm-parser.sh
|
||||||
|
- opm-material/travis/build-opm-material.sh
|
||||||
|
|
||||||
|
script: opm-core/travis/build-and-test-opm-core.sh
|
||||||
+1
-2
@@ -1,5 +1,4 @@
|
|||||||
Open Porous Media Core Library
|
# Open Porous Media Core Library [](https://travis-ci.org/OPM/opm-core)
|
||||||
==============================
|
|
||||||
|
|
||||||
These are release notes for opm-core.
|
These are release notes for opm-core.
|
||||||
|
|
||||||
Executable
+8
@@ -0,0 +1,8 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
pushd . > /dev/null
|
||||||
|
opm-core/travis/build-opm-core.sh
|
||||||
|
cd opm-core/build
|
||||||
|
ctest --output-on-failure
|
||||||
|
popd > /dev/null
|
||||||
Executable
+10
@@ -0,0 +1,10 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
pushd . > /dev/null
|
||||||
|
cd opm-core
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake -D SUPERLU_ROOT=../../SuperLU ../
|
||||||
|
make
|
||||||
|
popd > /dev/null
|
||||||
Executable
+12
@@ -0,0 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
pushd . > /dev/null
|
||||||
|
git clone https://github.com/dune-project/dune-istl.git
|
||||||
|
cd dune-istl
|
||||||
|
git checkout tags/v2.3.1
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake ../
|
||||||
|
make
|
||||||
|
popd > /dev/null
|
||||||
Executable
+11
@@ -0,0 +1,11 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
pushd . > /dev/null
|
||||||
|
git clone https://github.com/starseeker/SuperLU.git
|
||||||
|
cd SuperLU
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake -D CMAKE_INSTALL_PREFIX=.. -D SUPERLU_BUILD_EXAMPLES=OFF -D SUPERLU_ENABLE_TESTING=OFF ../
|
||||||
|
make install
|
||||||
|
popd > /dev/null
|
||||||
Reference in New Issue
Block a user