Commit Graph

36 Commits

Author SHA1 Message Date
Davide Pesavento 167040a677 ci: update Travis-CI configuration
* Add clang-6.0 to the build matrix (allowed to fail)
 * Upgrade xcode9 to xcode9.2
 * Various simplifications

Change-Id: I626006f79bbb7a1a79ec804c66ef30fef1e7cfd2
2018-01-10 02:48:47 -05:00
Eric Newberry 52ae3296bd tests: remove reliance of other tests on WITH_TESTS
refs #3609

Change-Id: I8fa858d207cd060cfcda7c86af56dac4afb48fe1
2017-11-18 20:45:32 -07:00
Davide Pesavento bb734df9f6 face: pass the whole NetworkInterface to UdpFactory::createMulticastFace
Instead of just the interface name. This is in preparation
for adding IPv6 support to createMulticastFace.

Change-Id: Ie3c02af4483b041d39d4e85c85cd712368e9bb8f
Refs: #4222
2017-10-28 15:54:48 -04:00
Davide Pesavento c25737cd9a ci+docs: remove all references to cryptopp/crypto++
Change-Id: I40fc72a8fa27c1a73c349e8cbaeb402a8b6af742
Refs: #3946
2017-08-26 16:39:56 -04:00
Davide Pesavento 8ca138de13 ci: preserve PATH when running waf under sudo
Change-Id: Ideb6f9d4ec3d92af134b923b9abafc952ee868e6
Refs: #4186
2017-08-10 21:36:30 -04:00
Davide Pesavento 9ac95d3c1c ci: expand Travis-CI build matrix and use two parallel build jobs
Change-Id: I7dbba5bcd63274daa9b0da2ee9d631a55c1eca9e
2017-07-05 00:10:25 -04:00
Davide Pesavento 43ff2a9254 face: EthernetChannel
Change-Id: I8d9be571a2b0abe0cfad09756ea6c691e0679450
Refs: #4011
2017-06-22 14:11:08 -04:00
Davide Pesavento 7744a4a298 ci: speed up Travis-CI osx jobs by upgrading only the packages we need
Change-Id: I8bb4ddb5dbb335bf4f9ea925fe87bd7739adcb9d
2017-06-20 21:29:56 -04:00
Davide Pesavento 221f53bb6f ci: filter websocketpp files from lcov output
Change-Id: Ibd1ce39b0bf936e280e0277eaabf98cc68a5d656
2017-06-04 19:32:53 -04:00
Junxiao Shi 33a24e8e8f ci: fix ndn-cxx-latest version detection
refs #3321

Change-Id: I25ff57b634772fae324459751d6a7375346012ff
2017-05-27 17:09:31 +00:00
Ashlesh Gawande 6f6ef012cb ci: check boost version change on OSX
refs #3321

Change-Id: Iedccc7588ecaa95b34e6592aa0fa4f8a593233fd
2017-05-11 16:07:15 -05:00
Davide Pesavento 8d61c037a7 ci: add generation of HTML coverage report using lcov
Copied from ndn-cxx

Change-Id: Ie8c08a570afe67c9eb232b37ad0038566ad49572
2017-05-03 01:14:32 -04:00
Davide Pesavento 6bd6d0b50a face: UnicastEthernetTransport
Change-Id: I4d19f52835d9268f2ea63fd4e0b1a0a5aed95c47
Refs: #4011
2017-03-30 18:25:57 -04:00
Davide Pesavento 8a84773fdb ci: preserve environment when running tests as superuser
Change-Id: I18c59d6411169c4bf0742fd0c581c9c1f747806b
2017-01-25 09:29:49 -05:00
Junxiao Shi 64d99f21eb face: process face_system.udp config section in UdpFactory
refs #3904

Change-Id: I8edf69c152f7c164cbab2b482d6b138cbf89d3e2
2017-01-21 23:06:36 +00:00
Alexander Afanasyev 465056e9c6 ci: Fix bug with coverage report generation
Many files were missing from the report because the build path was
excluded.

Change-Id: Ia7ecdf4a81b8d37cff6c3fd14c5de3407648d91c
2016-12-30 16:19:46 -08:00
Junxiao Shi b859031855 face: FaceSystem class
FaceSystem class is the entry point of NFD's face system. It owns
ProtocolFactory objects that are created from face_system section of
NFD configuration file. This responsibility is split from FaceManager.

This commit also adds test coverage for face_system.websocket config
section processing routine.

refs #3904

Change-Id: If9a23c23b81f03d2b76c29febb3f29e6007d595b
2016-12-29 21:22:25 +00:00
Eric Newberry 81a9a86305 ci: speed up code-coverage jobs
some documentation updates

refs #3809

Change-Id: I0c837a3b8f0f5e5e15d20ba41418bf17660fffb5
2016-12-28 22:52:35 -07:00
Davide Pesavento 7de0444d06 ci: ensure XML test reports do not clobber the output of previous runs
This was broken since commit e0edc4c06d

Change-Id: I369e9ad2cb3345ef3a707799e86c3c3beaf83788
Refs: #3418, #3750
2016-10-13 14:41:20 +00:00
Davide Pesavento 043c50147c ci: enable AddressSanitizer for unit tests
Change-Id: Iaf4c24f7e6f79d2915bf8ef78cff398876091c73
Refs: #2589
2016-09-19 17:23:32 +00:00
Davide Pesavento e0edc4c06d ci: make unit tests execution compatible with different versions of Boost
This commit also unifies the coding style of CI scripts.

Change-Id: Iae73f63d8a997dbfde9233b6ee7f53a3d9644ef6
Refs: #3750
2016-09-13 18:29:52 +00:00
Davide Pesavento 0a5e5e2fa5 ci: fix gcovr invocation
Change-Id: If74633cfb67725b43a55d7b190b178137ad2c420
Refs: #3418
2016-09-13 18:29:33 +00:00
Davide Pesavento 231ddd7508 ci: stop adding capabilities before running unit tests
This ensures that all tests pass (or are automatically skipped)
when run as an unprivileged user.

Change-Id: If8b66fd6555de455648576565b1c6cbd02695d1b
Refs: #3418
2016-09-02 22:20:00 +00:00
Junxiao Shi 38f4ce9f25 tools: refactor nfd-status
refs #3658

Change-Id: Ia347074bea802eba5f539208e276e849a60db8a4
2016-08-04 10:01:52 +00:00
Alexander Afanasyev 67079664ae ci: Add installation of openssl dependency
Change-Id: Iea19a3a617d770687b4f131a068601255a6c94cf
Refs: #3643
2016-06-15 12:36:08 -07:00
Davide Pesavento cc7bee7d80 docs+ci: Ubuntu 12.04 is no longer supported
Change-Id: I423a0f22662383f52413d12dc26d2a4ed08579e2
Refs: #3599, #3600
2016-04-27 12:15:06 -07:00
Alexander Afanasyev 6602b3b179 ci: Update Travis-CI to use Ubuntu Linux 14.04 (trusty) and OS X 10.9 VMs
Due to resource constraints, this commit also makes Travis-CI to build
only once (debug, without precompiled headers, with tests).

Change-Id: I65ec64bca545093efae384dd00b51bbeaf7d9b65
Refs: #3360
2016-04-26 18:43:19 -07:00
Alexander Afanasyev 3152abac67 ci: Fix unit test execution with boost 1.60
Change-Id: I461e634e5cdf022fed76ca6b92759b18b1d4aed6
Refs: #3417
2016-01-18 22:44:38 +01:00
Alexander Afanasyev f22ebaf7f1 tests+ci: Enable dual XML and HRF output of unit test results
This commit also makes unit tests to run against a debug build, to
ensure assertions are properly evaluated (based on suggestion
in I5f4419ea48d4eb333e9d107115ef3df4123f76e5).

Change-Id: I1bbf14f75aab155ed80a36fc4006f7a5d13f1289
Refs: #2252, #2805
2015-12-21 13:50:29 -08:00
Alexander Afanasyev b81cff966e ci: Enable automatic dependency installation in Jenkins scripts
This commit also unifies TravisCI dependency installation using Jenkins
scripts.

Change-Id: Ia7bae2e2f31e781c07acea729d61fa07345760ab
Refs: #2843
2015-07-12 10:50:31 +08:00
Joao Pereira 08f07016a3 ci: build ndn-cxx as shared library
refs #2992

Change-Id: Ia65a5d1868d2a63b30adf3bd496be071bc57dd6b
2015-07-08 03:52:25 -07:00
Spyridon Mastorakis d0381c05a6 tests: Change to updated naming conventions
Change-Id: I9351c669282c3c02fd533237489beeb10fe7d15e
Refs: #2497
2015-02-21 13:02:47 -08:00
Alexander Afanasyev 49343f6fab build: Add conditional compilation
Two conditionals are introduced in this commit:
- if <ifaddrs.h> is not available, NetworkInterface helper will always return
  an empty set of interfaces
- If dropping/elevating effective user/group is not supported, an error
  will be thrown if used (e.g., if general.user or general.group is
  configured)

Both conditionals are necessary on Android platform.

Change-Id: Ib360e03514af97ed2d68032fbcbe279a8dc84682
2015-01-27 18:13:50 -08:00
Alexander Afanasyev 4e88e07f76 ci: Make sure we build NFD with tests and precompiled headers
Change-Id: I0f867124bdc76e688152340bcca2f0c2691bd9b2
2014-11-03 13:54:08 -08:00
Davide Pesavento ab1e8f2497 build: Always build in C++11 mode.
This commit also includes update of websocketpp submodule, as the
previous version has compilation problems on OSX with XCode 6.1

Change-Id: I8c9670d0026d840838d77e610e50679ee5ede7a5
Refs: #1930, #2082
2014-10-29 23:53:23 -07:00
Alexander Afanasyev 4d4e725233 ci: Embedding CI build and test running script
This commit also unifies build and test scripts for Jenkins and Travis CI

Change-Id: Ieaf2d8793c2320a23ce9958c9cf06b3abd4d500f
2014-10-26 18:24:45 -07:00