Added Travis support
This commit is contained in:
parent
10213b025c
commit
000ad4ab48
21
.travis.yml
Normal file
21
.travis.yml
Normal file
@ -0,0 +1,21 @@
|
||||
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
|
||||
|
||||
before_script:
|
||||
- export CXX="g++-4.8" CC="gcc-4.8" FC="gfortran-4.8"
|
||||
- cd ..
|
||||
|
||||
script: opm-common/travis/build-and-test-opm-common.sh
|
8
travis/build-and-test-opm-common.sh
Executable file
8
travis/build-and-test-opm-common.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
pushd . > /dev/null
|
||||
opm-common/travis/build-opm-common.sh
|
||||
cd opm-common/build
|
||||
ctest --output-on-failure
|
||||
popd > /dev/null
|
10
travis/build-opm-common.sh
Executable file
10
travis/build-opm-common.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
pushd . > /dev/null
|
||||
cd opm-common
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ../
|
||||
make
|
||||
popd > /dev/null
|
Loading…
Reference in New Issue
Block a user