Skip to content
Snippets Groups Projects
Commit d6ec2917 authored by René Fritze's avatar René Fritze
Browse files

[travis] refactor module name

parent c2479da3
No related branches found
No related tags found
No related merge requests found
...@@ -44,8 +44,8 @@ before_install: ...@@ -44,8 +44,8 @@ before_install:
- git submodule update --init --recursive - git submodule update --init --recursive
- cp config.opts/travis $HOME/travis.opts && export DCONTROL_ARG="--builddir=${DUNE_BUILD_DIR} --opts=${HOME}/travis.opts" - cp config.opts/travis $HOME/travis.opts && export DCONTROL_ARG="--builddir=${DUNE_BUILD_DIR} --opts=${HOME}/travis.opts"
- echo removing modules ${MODULES_TO_DELETE} - echo removing modules ${MODULES_TO_DELETE}
# ensures dune-stuff from travis own checkout is used # ensures ${MY_MODULE} from travis own checkout is used
- rm -rf ${MODULES_TO_DELETE} dune-stuff - rm -rf ${MODULES_TO_DELETE} ${MY_MODULE}
# install Eigen # install Eigen
- mkdir -p ${DUNE_BUILD_DIR}/eigen/build - mkdir -p ${DUNE_BUILD_DIR}/eigen/build
- wget -qO- http://bitbucket.org/eigen/eigen/get/3.2.4.tar.gz | tar xz -C ${DUNE_BUILD_DIR}/eigen --strip-components=1 - wget -qO- http://bitbucket.org/eigen/eigen/get/3.2.4.tar.gz | tar xz -C ${DUNE_BUILD_DIR}/eigen --strip-components=1
...@@ -71,16 +71,16 @@ install: ...@@ -71,16 +71,16 @@ install:
# # command to run tests # # command to run tests
script: script:
- cd ${TRAVIS_BUILD_DIR} - cd ${TRAVIS_BUILD_DIR}
- ~/dune/bin/dunecontrol ${DCONTROL_ARG} --only=dune-stuff configure - ~/dune/bin/dunecontrol ${DCONTROL_ARG} --only=${MY_MODULE} configure
- ~/dune/bin/dunecontrol ${DCONTROL_ARG} --only=dune-stuff bexec make - ~/dune/bin/dunecontrol ${DCONTROL_ARG} --only=${MY_MODULE} bexec make
- ~/dune/bin/dunecontrol ${DCONTROL_ARG} --only=dune-stuff bexec make test_binaries - ~/dune/bin/dunecontrol ${DCONTROL_ARG} --only=${MY_MODULE} bexec make test_binaries
- ~/dune/bin/dunecontrol ${DCONTROL_ARG} --only=dune-stuff bexec make test - ~/dune/bin/dunecontrol ${DCONTROL_ARG} --only=${MY_MODULE} bexec make test
- ~/dune/bin/dunecontrol ${DCONTROL_ARG} --only=dune-stuff bexec make headercheck -k - ~/dune/bin/dunecontrol ${DCONTROL_ARG} --only=${MY_MODULE} bexec make headercheck -k
# reset for ctest # reset for ctest
- ~/dune/bin/dunecontrol ${DCONTROL_ARG} --only=dune-stuff bexec make clean - ~/dune/bin/dunecontrol ${DCONTROL_ARG} --only=${MY_MODULE} bexec make clean
- export CTEST_ARG="--output-on-failure -S ${TRAVIS_BUILD_DIR}/.travis.ctest" - export CTEST_ARG="--output-on-failure -S ${TRAVIS_BUILD_DIR}/.travis.ctest"
# ctest errors on coverage gathering, this should NOT fail our entire build # ctest errors on coverage gathering, this should NOT fail our entire build
- ~/dune/bin/dunecontrol ${DCONTROL_ARG} --only=dune-stuff bexec ctest ${CTEST_ARG} || echo "CTest Failed" - ~/dune/bin/dunecontrol ${DCONTROL_ARG} --only=${MY_MODULE} bexec ctest ${CTEST_ARG} || echo "CTest Failed"
notifications: notifications:
email: email:
...@@ -111,7 +111,7 @@ matrix: ...@@ -111,7 +111,7 @@ matrix:
env: env:
global: global:
- DUNE_BUILD_DIR=${HOME}/dune_build/ INSTALL_DIR=$HOME/dune - MY_MODULE=dune-stuff DUNE_BUILD_DIR=${HOME}/dune_build/ INSTALL_DIR=$HOME/dune
#matrix: #matrix:
- MODULES_TO_DELETE="dune-fem dune-pdelab dune-typetree dune-grid dune-istl" - MODULES_TO_DELETE="dune-fem dune-pdelab dune-typetree dune-grid dune-istl"
- MODULES_TO_DELETE="dune-fem dune-pdelab dune-typetree" - MODULES_TO_DELETE="dune-fem dune-pdelab dune-typetree"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment