Added Travis support

This commit is contained in:
Jean-Paul Balabanian
2016-02-08 06:56:30 +01:00
parent 279799ee80
commit ab3ea52384
6 changed files with 81 additions and 2 deletions
+39
View File
@@ -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
View File
@@ -1,5 +1,4 @@
Open Porous Media Core Library
==============================
# Open Porous Media Core Library [![Build Status](https://travis-ci.org/OPM/opm-core.svg?branch=master)](https://travis-ci.org/OPM/opm-core)
These are release notes for opm-core.
+8
View File
@@ -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
+10
View File
@@ -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
+12
View File
@@ -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
+11
View File
@@ -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