Skip to content

Commit 05cf0ff

Browse files
committed
Reenable tests for Travis CI coverity build and add vscode coverity build task
1 parent 4a8359f commit 05cf0ff

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

.vscode/tasks.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,32 @@
33
// for the documentation about the tasks.json format
44
"version": "2.0.0",
55
"tasks": [
6+
{
7+
"label": "coverity-vcpkg-x64-windows-release",
8+
"type": "shell",
9+
"windows": {
10+
"command": "rd ${workspaceFolder}\\build\\x64-windows -Recurse; ${env:COVERITY_ROOT}\\bin\\cov-configure.exe --msvc; ${env:COVERITY_ROOT}\\bin\\cov-build.exe --dir ${workspaceFolder}\\build\\x64-windows\\cov-int ${workspaceFolder}\\make.bat"
11+
},
12+
"options": {
13+
"env": {
14+
"BUILD_TYPE": "Release",
15+
"ARCH": "x64",
16+
"TARGET_OS": "windows",
17+
"TOOLCHAIN": "${env:VCPKG_ROOT}\\scripts\\buildsystems\\vcpkg.cmake"
18+
}
19+
},
20+
"group": {
21+
"kind": "build",
22+
"isDefault": true
23+
},
24+
"presentation": {
25+
"reveal": "always",
26+
"panel": "new"
27+
},
28+
"problemMatcher": [
29+
"$msCompile"
30+
]
31+
},
632
{
733
"label": "vcpkg-x64-windows-release",
834
"type": "shell",

tests/travis/script.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ elif [ "$SCAN" = "coverity" ] && [ "$TRAVIS_BRANCH" = "coverity" ]; then
2020

2121
PDALC_CMAKE_ARGS += "-DPDALC_ENABLE_CODE_COVERAGE=OFF"
2222
PDALC_CMAKE_ARGS += "-DPDALC_ENABLE_DOCS=OFF"
23-
PDALC_CMAKE_ARGS += "-DPDALC_ENABLE_TESTS=OFF"
2423
fi
2524

2625
export CI_PROJECT_DIR=/pdalc

0 commit comments

Comments
 (0)