-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add codecoverage * minor change * use xml instead of html * add include folder * add newer gcc compiler * use g++-5 * back to default compiler * Add all tests * add no inline * test fix * Revert and add badge This reverts commit 913ec2a.
- Loading branch information
Showing
3 changed files
with
49 additions
and
25 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 |
---|---|---|
|
@@ -42,7 +42,9 @@ | |
# Copyright (c) 2012-2018 Vissarion Fisikopoulos | ||
# Licensed under GNU LGPL.3, see LICENCE file | ||
|
||
version: 2 | ||
version: 2.1 | ||
orbs: | ||
codecov: codecov/[email protected] | ||
jobs: | ||
build: | ||
machine: | ||
|
@@ -52,10 +54,13 @@ jobs: | |
- checkout | ||
- run: | ||
sudo apt-get update || true; | ||
sudo apt-get install cmake lp-solve; | ||
sudo apt-get install cmake lp-solve gcovr; | ||
rm -rf build; | ||
mkdir build; | ||
cd build; | ||
cmake -DDISABLE_NLP_ORACLES=ON -DUSE_MKL=OFF ../test; | ||
cmake -DDISABLE_NLP_ORACLES=ON -DUSE_MKL=OFF -DCODE_COVERAGE=ON ../test; | ||
make; | ||
ctest -j8 --verbose; | ||
gcovr -r ../include . --xml -o coverage.xml; | ||
- codecov/upload: | ||
file: './build/coverage.xml' |
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 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