Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Conversation

dawagner
Copy link
Contributor

Let Travis CI run on OSX builders too.

@@            master   #356   diff @@
=====================================
Files          211    211
Stmts         7184   7184
Branches         0      0
Methods          0      0
=====================================
Hit           5769   5769
Partial          0      0
Missed        1415   1415

Review entire Coverage Diff as of 645f506

Powered by Codecov. Updated on successful CI builds.

  

@codecov-io
Copy link

Current coverage is 80.30%

Merging #356 into master will not affect coverage as of 6ecbb23

@@            master   #356   diff @@
=====================================
  Files          211    211       
  Stmts         7184   7184       
  Branches         0      0       
  Methods          0      0       
=====================================
  Hit           5769   5769       
  Partial          0      0       
  Missed        1415   1415       

Review entire Coverage Diff as of 6ecbb23

Powered by Codecov. Updated on successful CI builds.

@dawagner
Copy link
Contributor Author

dawagner commented Mar 4, 2016

@terahxluna please review

@terahlunah
Copy link

👍

dawagner added 2 commits March 4, 2016 11:44
Some compilers complain when failing to use the `override` specifier when
overriding a method. clang-tidy can help automatically add it to relevant
methods. It also does a lot of cleanup by removing `virtual` when both
`virtual` and `override` are specified. Same with `override` and `final`: final
methods are implicitly overrides and thus makes the `override` specifier
redundant.

For reference, this was done with clang-tidy-3.8:

    ls parameter/*cpp | xargs -n1 clang-tidy-3.8 \
        -checks=modernize-use-override -fix -p=<path-to-build-dir> \
        -header-filter=parameter

and CMake was ran with the `-DCMAKE_EXPORT_COMPILE_COMMANDS=1` option. Note the
use of xargs: when running clang-tidy on multiple files at once, strange things
happen and the files are left in state that wouldn't compile. clang-format also
needs to be run after clang-tidy.

Signed-off-by: David Wagner <david.wagner@intel.com>
Travis has OSX builders in addition to Linux builders. This commit enables some
build steps on OSX builders. OSX has some differences with Linux, one important
difference being how packages are installed.

Current limitations that will be lifter later:
 - no tests (because some test code does not compile)
 - no client-simulator (because of issues in detecting the Python libraries)

Signed-off-by: David Wagner <david.wagner@intel.com>
@tcahuzax
Copy link
Contributor

tcahuzax commented Mar 4, 2016

👍

dawagner added a commit that referenced this pull request Mar 4, 2016
@dawagner dawagner merged commit a74c8c1 into intel:master Mar 4, 2016
@dawagner dawagner deleted the travis-osx branch March 4, 2016 14:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants