Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-xt-ci
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
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
ag-ohlberger
dune-community
dune-xt-ci
Commits
c280eda4
Unverified
Commit
c280eda4
authored
6 years ago
by
René Fritze
Browse files
Options
Downloads
Patches
Plain Diff
remove travis specific code
parent
549ad457
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
make_env_file.py
+1
-1
1 addition, 1 deletion
make_env_file.py
test_cpp.bash
+5
-19
5 additions, 19 deletions
test_cpp.bash
test_python.bash
+4
-10
4 additions, 10 deletions
test_python.bash
with
10 additions
and
30 deletions
make_env_file.py
+
1
−
1
View file @
c280eda4
...
...
@@ -16,7 +16,7 @@ from os.path import expanduser
from
shlex
import
quote
home
=
expanduser
(
"
~
"
)
prefixes
=
os
.
environ
.
get
(
'
ENV_PREFIXES
'
,
'
TRAVIS
DRONE GITLAB CODECOV CI encrypt TOKEN TESTS
'
).
split
(
'
'
)
prefixes
=
os
.
environ
.
get
(
'
ENV_PREFIXES
'
,
'
BUILD SYSTEM
DRONE GITLAB CODECOV CI encrypt TOKEN TESTS
'
).
split
(
'
'
)
blacklist
=
[
'
TRAVIS_COMMIT_MESSAGE
'
]
env_file
=
os
.
environ
.
get
(
'
DOCKER_ENVFILE
'
,
os
.
path
.
join
(
home
,
'
env
'
))
with
open
(
env_file
,
'
wt
'
)
as
env
:
...
...
This diff is collapsed.
Click to expand it.
test_cpp.bash
+
5
−
19
View file @
c280eda4
...
...
@@ -2,7 +2,7 @@
#
# ~~~
# This file is part of the dune-xt-common project:
# https://github.com/dune-community/dune-xt-c
ommon
# https://github.com/dune-community/dune-xt-c
i
# Copyright 2009-2018 dune-xt-common developers and contributors. All rights reserved.
# License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
# or GPL-2.0+ (http://opensource.org/licenses/gpl-license)
...
...
@@ -13,33 +13,21 @@
# Tobias Leibner (2018)
# ~~~
# ****** THIS FILE IS AUTOGENERATED, DO NOT EDIT **********
# this file is treated as a jinja2 template
set
-e
set
-x
WAIT
=
"
${
SUPERDIR
}
/scripts/bash/travis_wait_new.bash 45"
source
${
SUPERDIR
}
/scripts/bash/retry_command.bash
${
SRC_DCTRL
}
${
BLD
}
--only
=
${
MY_MODULE
}
configure
${
SRC_DCTRL
}
${
BLD
}
--only
=
${
MY_MODULE
}
bexec
${
BUILD_CMD
}
if
[
x
"
${
TESTS
}
"
==
x
]
;
then
${
WAIT
}
${
SRC_DCTRL
}
${
BLD
}
--only
=
${
MY_MODULE
}
bexec
${
BUILD_CMD
}
test_binaries
else
${
WAIT
}
${
SRC_DCTRL
}
${
BLD
}
--only
=
${
MY_MODULE
}
bexec
${
BUILD_CMD
}
test_binaries_builder_
${
TESTS
}
fi
${
SRC_DCTRL
}
${
BLD
}
--only
=
${
MY_MODULE
}
bexec
${
BUILD_CMD
}
test_binaries
source
${
OPTS
}
CTEST
=
"ctest -V --timeout
${
DXT_TEST_TIMEOUT
:-
300
}
-j
${
DXT_TEST_PROCS
:-
2
}
"
if
[
x
"
${
TESTS
}
"
==
x
]
;
then
${
SRC_DCTRL
}
${
BLD
}
--only
=
${
MY_MODULE
}
bexec
${
CTEST
}
${
SRC_DCTRL
}
${
BLD
}
--only
=
${
MY_MODULE
}
bexec
${
BUILD_CMD
}
headercheck
else
# with binning headercheck is included in building tests
${
SRC_DCTRL
}
${
BLD
}
--only
=
${
MY_MODULE
}
bexec
${
CTEST
}
-L
"^builder_
${
TESTS
}
$"
fi
${
SRC_DCTRL
}
${
BLD
}
--only
=
${
MY_MODULE
}
bexec
${
CTEST
}
${
SRC_DCTRL
}
${
BLD
}
--only
=
${
MY_MODULE
}
bexec
${
BUILD_CMD
}
headercheck
# clang coverage currently disabled for being to mem hungry
if
[[
${
CC
}
==
*
"clang"
*
]]
;
then
...
...
@@ -47,7 +35,7 @@ if [[ ${CC} == *"clang"* ]] ; then
exit
0
fi
if
[
"
${
TRAVIS_SECURE_ENV_VARS
}
"
==
"
fals
e"
]
;
then
if
[
"
${
SYSTEM_PULLREQUEST_ISFORK
}
"
==
"
Tru
e"
]
;
then
echo
"Coverage reporting disabled for forked repo/PR"
exit
0
fi
...
...
@@ -63,5 +51,3 @@ cd ${SUPERDIR}/${MY_MODULE}
${
OLDPWD
}
/run-in-dune-env pip
install
codecov
${
OLDPWD
}
/run-in-dune-env codecov
-v
-X
gcov
-X
coveragepy
-F
ctest
-f
${
COVERAGE_INFO
}
-t
${
CODECOV_TOKEN
}
popd
# ****** THIS FILE IS AUTOGENERATED, DO NOT EDIT **********
\ No newline at end of file
This diff is collapsed.
Click to expand it.
test_python.bash
+
4
−
10
View file @
c280eda4
...
...
@@ -2,7 +2,7 @@
#
# ~~~
# This file is part of the dune-xt-common project:
# https://github.com/dune-community/dune-xt-c
ommon
# https://github.com/dune-community/dune-xt-c
i
# Copyright 2009-2018 dune-xt-common developers and contributors. All rights reserved.
# License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
# or GPL-2.0+ (http://opensource.org/licenses/gpl-license)
...
...
@@ -12,21 +12,17 @@
# Tobias Leibner (2018)
# ~~~
# ****** THIS FILE IS AUTOGENERATED, DO NOT EDIT **********
# this file is treated as a jinja2 template
set
-e
set
-x
WAIT
=
"
${
SUPERDIR
}
/scripts/bash/travis_wait_new.bash 45"
source
${
SUPERDIR
}
/scripts/bash/retry_command.bash
${
SRC_DCTRL
}
${
BLD
}
--only
=
${
MY_MODULE
}
configure
${
SRC_DCTRL
}
${
BLD
}
--only
=
${
MY_MODULE
}
bexec
${
BUILD_CMD
}
${
WAIT
}
${
SRC_DCTRL
}
${
BLD
}
--only
=
${
MY_MODULE
}
bexec
${
BUILD_CMD
}
bindings
${
WAIT
}
${
SRC_DCTRL
}
${
BLD
}
--only
=
${
MY_MODULE
}
bexec
${
BUILD_CMD
}
test_python
${
SRC_DCTRL
}
${
BLD
}
--only
=
${
MY_MODULE
}
bexec
${
BUILD_CMD
}
bindings
${
SRC_DCTRL
}
${
BLD
}
--only
=
${
MY_MODULE
}
bexec
${
BUILD_CMD
}
test_python
if
[
"
${
TRAVIS_SECURE_ENV_VARS
}
"
==
"
fals
e"
]
;
then
if
[
"
${
SYSTEM_PULLREQUEST_ISFORK
}
"
==
"
Tru
e"
]
;
then
echo
"Coverage reporting disabled for forked repo/PR"
exit
0
fi
...
...
@@ -34,5 +30,3 @@ fi
cd
${
SUPERDIR
}
/
${
MY_MODULE
}
${
DUNE_BUILD_DIR
}
/
${
MY_MODULE
}
/run-in-dune-env pip
install
codecov
${
DUNE_BUILD_DIR
}
/
${
MY_MODULE
}
/run-in-dune-env codecov
-X
gcov
-F
pytest
-t
${
CODECOV_TOKEN
}
# ****** THIS FILE IS AUTOGENERATED, DO NOT EDIT **********
\ No newline at end of file
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