-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1305 from boutproject/v4.2-rc
Version 4.2.0
- Loading branch information
Showing
757 changed files
with
64,823 additions
and
37,558 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
languages: | ||
cpp: | ||
extensions: | ||
- '*.hxx' | ||
- '*.cxx' | ||
engines: | ||
coverage: | ||
enabled: true | ||
exclude_paths: | ||
- tests/** | ||
- examples/** | ||
bandit: | ||
enabled: true | ||
include_paths: | ||
- tools/pylib/** | ||
cppcheck: | ||
enabled: true | ||
exclude_paths: | ||
- externalpackages/** | ||
- tools/** | ||
pylint: | ||
enable: true | ||
include_paths: | ||
- tools/pylib/** | ||
prospector: | ||
enable: true | ||
include_paths: | ||
- tools/pylib/** | ||
shellcheck: | ||
enable: true | ||
exclude_paths: | ||
- build-aux/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#First install the reporter tool | ||
wget -q -O ~/codacy-coverage-reporter-assembly-latest.jar https://oss.sonatype.org/service/local/repositories/releases/content/com/codacy/codacy-coverage-reporter/4.0.1/codacy-coverage-reporter-4.0.1-assembly.jar > /dev/null | ||
|
||
#Analyse the existing gcov files and output in compatible xml format | ||
#The -g option says to use the existing gcov files, the -k options says to not delete the gcov files | ||
#The -j option is like make's -j | ||
#See https://gcovr.com/guide.html for more details | ||
gcovr --root . -k -j 2 --xml -o gcovr_report.xml --exclude-directories "tests/.*" | ||
|
||
#Do the upload | ||
java -jar ~/codacy-coverage-reporter-assembly-latest.jar report -f --language CPP -r gcovr_report.xml --partial |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
comment: false | ||
|
||
ignore: | ||
- "tests" | ||
|
||
codecov: | ||
branch: next |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
export PATH=${HOME}/.local/bin:${PATH} | ||
pip3 install --user --upgrade pip setuptools | ||
|
||
for package in $@ | ||
do | ||
if test $package == "cython" | ||
then | ||
# fast install Cython | ||
pip3 install --user Cython --install-option="--no-cython-compile" | ||
elif test $package == "something_else" | ||
then | ||
pip3 install what_we_need | ||
else | ||
pip3 install --user $package | ||
fi | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.