Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-xt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ag-ohlberger
dune-community
dune-xt
Commits
d6ec2917
Commit
d6ec2917
authored
9 years ago
by
René Fritze
Browse files
Options
Downloads
Patches
Plain Diff
[travis] refactor module name
parent
c2479da3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis.yml
+10
-10
10 additions, 10 deletions
.travis.yml
with
10 additions
and
10 deletions
.travis.yml
+
10
−
10
View file @
d6ec2917
...
@@ -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"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment