Skip to content

Commit e7ff983

Browse files
pfultz2danmar
authored andcommitted
Run cmake tests on travis (cppcheck-opensource#2155)
* Run cmake tests on travis * Build with tests * Use correct variable
1 parent e9231d2 commit e7ff983

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ matrix:
132132
# try CMake
133133
- mkdir cmake.output
134134
- cd cmake.output
135-
- cmake -G "Unix Makefiles" ..
135+
- cmake -G "Unix Makefiles" -DBUILD_TESTS=On ..
136+
- make -j2 check
136137
- cd ..
137138

138139
# check if dmake needs to be rerun (this job may fail)

0 commit comments

Comments
 (0)