Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d7da836c
Commit
d7da836c
authored
Jun 22, 2018
by
Ammar Askar
Committed by
Brett Cannon
Jun 22, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test coverage reporting for C files (GH-7773)
parent
8fbbdf0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
.travis.yml
.travis.yml
+6
-1
No files found.
.travis.yml
View file @
d7da836c
...
@@ -66,9 +66,13 @@ matrix:
...
@@ -66,9 +66,13 @@ matrix:
language
:
c
language
:
c
compiler
:
gcc
compiler
:
gcc
env
:
OPTIONAL=true
env
:
OPTIONAL=true
addons
:
apt
:
packages
:
-
lcov
before_script
:
before_script
:
-
./configure
-
./configure
-
make -s -j4
-
make
coverage
-s -j4
# Need a venv that can parse covered code.
# Need a venv that can parse covered code.
-
./python -m venv venv
-
./python -m venv venv
-
./venv/bin/python -m pip install -U coverage
-
./venv/bin/python -m pip install -U coverage
...
@@ -79,6 +83,7 @@ matrix:
...
@@ -79,6 +83,7 @@ matrix:
after_script
:
# Probably should be after_success once test suite updated to run under coverage.py.
after_script
:
# Probably should be after_success once test suite updated to run under coverage.py.
# Make the `coverage` command available to Codecov w/ a version of Python that can parse all source files.
# Make the `coverage` command available to Codecov w/ a version of Python that can parse all source files.
-
source ./venv/bin/activate
-
source ./venv/bin/activate
-
make coverage-lcov
-
bash <(curl -s https://codecov.io/bash)
-
bash <(curl -s https://codecov.io/bash)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment