Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
eic_tools
Spack
Commits
45726857
Commit
45726857
authored
8 years ago
by
Todd Gamblin
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Coverage for multiple Python versions. (#3951)
Update tests to use codecov for multiple python versions.
parent
ead58cbb
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis.yml
+1
-1
1 addition, 1 deletion
.travis.yml
share/spack/qa/run-unit-tests
+3
-1
3 additions, 1 deletion
share/spack/qa/run-unit-tests
with
4 additions
and
2 deletions
.travis.yml
+
1
−
1
View file @
45726857
...
...
@@ -92,7 +92,7 @@ before_script:
script
:
share/spack/qa/run-$TEST_SUITE-tests
after_success
:
-
if [[ $TEST_SUITE == unit && $TRAVIS_PYTHON_VERSION == 2.7 && $TRAVIS_OS_NAME == "linux" ]]; then
codecov --env PY_VERSION
; fi
-
codecov --env PY_VERSION
#=============================================================================
# Notifications
...
...
This diff is collapsed.
Click to expand it.
share/spack/qa/run-unit-tests
+
3
−
1
View file @
45726857
...
...
@@ -42,7 +42,9 @@ spack compilers
spack config get compilers
# Run unit tests with code coverage
if
[[
"
$TRAVIS_PYTHON_VERSION
"
==
2.7
]]
;
then
py_ver
=
$(
python
-c
'import platform; print(platform.python_version())'
)
if
[[
"
$py_ver
"
==
2.7
*
||
"
$py_ver
"
==
3.6
*
]]
;
then
coverage run bin/spack
install
-v
libdwarf
coverage run bin/spack
test
"
$@
"
&&
coverage combine
else
...
...
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