Run cmake tests on travis (#2155)
* Run cmake tests on travis * Build with tests * Use correct variable
This commit is contained in:
parent
e9231d2eee
commit
e7ff983fe0
|
@ -132,7 +132,8 @@ matrix:
|
||||||
# try CMake
|
# try CMake
|
||||||
- mkdir cmake.output
|
- mkdir cmake.output
|
||||||
- cd cmake.output
|
- cd cmake.output
|
||||||
- cmake -G "Unix Makefiles" ..
|
- cmake -G "Unix Makefiles" -DBUILD_TESTS=On ..
|
||||||
|
- make -j2 check
|
||||||
- cd ..
|
- cd ..
|
||||||
|
|
||||||
# check if dmake needs to be rerun (this job may fail)
|
# check if dmake needs to be rerun (this job may fail)
|
||||||
|
|
Loading…
Reference in New Issue