Commit Graph

25 Commits

Author SHA1 Message Date
Ron Evans 4cf6299986 build: further refactor ci test script for covercov groups for go 1.9.x compat
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-05-30 19:53:10 +02:00
Ron Evans 9e5a4cb359 build: further refactor ci test script for covercov groups
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-05-30 19:42:06 +02:00
Ron Evans 80f91742ff build: further refactor ci test script for covercov groups
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-05-30 19:37:56 +02:00
Ron Evans b10d4f73fd build: experiment with codecov group coverage metrics
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-05-30 18:21:36 +02:00
Ron Evans 6780683d97 build: update build settings needed to build OpenCV/GoCV as part of test suite
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-02-14 13:54:41 +01:00
deadprogram 4df62e7c17 ci: update LDFLAGS to match latest GoCV release
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-12-16 16:22:13 +01:00
Trevor Rosen c0088f5d61
LDFLAGS in test.sh; improve format check 2017-11-14 11:08:41 -06:00
Trevor Rosen 591c2909c6
fmt check in script; fail build on gofmt problems 2017-11-09 13:35:02 -06:00
Trevor Rosen f5b5632690
Further refinement of test.sh
* Update to test on go1.9.2
* Ensure flag from tip doesn't break build
2017-11-06 13:26:08 -06:00
Trevor Rosen 93498d761e Unset debugging stuff and add inline docs
#464
2017-11-04 22:13:14 -05:00
Trevor Rosen d23b159b2b
Skip vet errors thrown in tests 2017-11-04 21:30:32 -05:00
Trevor Rosen 32543614e3
Fail build if any tests fail
Fixes #464

* Move CI testing into ci/test.sh
* Delegate to script in Makefile
2017-11-04 18:48:11 -05:00
Marc-Antoine Ruel 55eb298a9b Significantly speed up travis and make runs
- Inline ci/travis.sh into .travis.yml
- Use two go test steps instead of once for speed up
- Drop the whitelist and use all the packages as listed from $(go list ./...).
  This removes the need to do bookeeping in both .travis.yml and Makefile during
  refactoring.
- Trimmed the Makefile significantly. Removed "go test -i" as while this is
  extremely helpful when cross compiling, it doesn't help when compiling for the
  host.
- Added deps as a phony target, made this step faster. I'm not sure of the
  usefulness of this step though and would recommend to remove it.
- 'make examples' is currently broken so I didn't add it to .travis.yml.

I experimented a bit on travis with go test on another similar project, timings
for the go test step only:
- Using both -race and -coverprofile with the loop over $(go list ./...) took
  190s
- Using -coverprofile alone with the loop over $(go list ./...) took 10~11s
- Using -race ./... took 5s

It means that using one after the other takes 16~17s while running with both
flags takes 190s. A 91% speedup. Add my previous commit that cut off the test
runtime by half, the total speed will be appreciable.
2017-03-25 07:31:26 -04:00
deadprogram a6936c7dec test: use covermode count for test performance
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-25 14:43:33 +01:00
deadprogram 77c352daf6 test: use covermode atomic for codecov.io
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-25 14:34:03 +01:00
deadprogram 65fd971c85 test: correct Travis tests suite to indicate failure by returning proper exit code
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-23 11:51:16 +01:00
deadprogram 4ab1c695a0 test: only cat test coverage output file whene said file exists
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-22 22:30:06 +01:00
deadprogram 8895f608e6 test: improvements to run tests much faster thanks @maruel
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-21 18:45:42 +01:00
deadprogram 69bba81747 test: testing use of codecov.io for code coverage reporting
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-16 13:20:04 +01:00
deadprogram c186638973 aio: separate analog drivers from gpio drivers
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-20 13:25:22 +01:00
deadprogram 8510bd96d3 bb8: add initial support for Sphero BB-8 platform
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-19 16:21:47 +01:00
deadprogram 953c3254e7 core: use canonical import domain of gobot.io for all code
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-08 13:24:03 +01:00
deadprogram 95586fa2d0 parrot: move both ARDrone and Bebop under Parrot package
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-07 14:22:12 +01:00
deadprogram 0ddcb9eacb test: adds Parrot Minidrone and Sphero Ollie to Travis tests
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-06 19:25:53 +01:00
deadprogram 54d9b16141 ci: move Travis build script to more informative directory name
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-20 10:03:02 +02:00