Commit Graph

54 Commits

Author SHA1 Message Date
Ron Evans 5faa7516f2 core: updating to use go modules in build and completely remove dep
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-10-15 10:26:40 +02:00
Trevor Rosen 591c2909c6
fmt check in script; fail build on gofmt problems 2017-11-09 13:35:02 -06:00
Trevor Rosen 9d5449d173
Tweaking fmt; fixing LD typo 2017-11-09 11:44:19 -06:00
Trevor Rosen dbfcfef627
Simplify fmt check 2017-11-09 11:18:53 -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 98d68d8549
Propagate test.sh exit status through make target 2017-11-04 22:41:30 -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
Trevor Rosen d959e53445
dep for building vendor; no vendor in CI tests
Fixes #454
2017-11-04 17:26:01 -05:00
deadprogram 2d28e0a960 ble: use go-ble/ble fork for BLE interactions
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-29 13:10:21 +01:00
deadprogram e10f4288b8 ble: use hybridgroup fork of go-ble/ble package until Darwin changes get into upsteam version
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-28 19:32:59 +02:00
deadprogram 6bd8280250 Switch to use custom domain for GoCV package
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-18 18:13:40 +02:00
deadprogram 31131780d4 opencv: Switchover to use GoCV and OpenCV 3.3
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-05 17:05:10 +02:00
Ulises Flynn 94f5ded2d6 First cut of the GoPiGo3 driver, lacking grove peripherals. 2017-08-24 23:38:26 -06:00
deadprogram ca6f7573ac firmata: switch to using go-serial package
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram dc799787d6 build: add race test task to Makefile
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-03 22:35:52 +02: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 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 89fffba48b test: correct 'make cover' task to work correctly
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-16 17:28:35 +01:00
deadprogram 8ce6b86d2c ble: update travis dependencies for new ble package
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-14 12:26:15 +01:00
deadprogram ecc2a52c04 ble: install deps for currantlabs ble package
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-14 12:26:15 +01:00
Weston Schmidt 0fe9d33729 Add a driver for the sht3x chip.
Signed-off-by: Weston Schmidt <weston_schmidt@alumni.purdue.edu>
2017-01-03 01:21:09 -08: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 c258b1612b core: correct Makefile import path
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-08 13:41:35 +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 9c6d0ba381 core: install hashicorp/go-multierror for Travis builds
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-07 21:29:52 +01:00
deadprogram 083eb82294 test: Run Travis tests on Intel Joule
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-03 19:07:15 +02:00
deadprogram 4c6c92e3f5 test: add deps taks to Makefile
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-03 08:38:50 +02:00
deadprogram 5c6151c989 test: experimental Travis build settings
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-03 08:25:07 +02:00
deadprogram 05e54f20df Fix #201 by add 'make examples' command to Makefile 2016-02-19 18:40:30 -08:00
deadprogram ef0652a011 Update Makefile and Robeaux itself to version 0.5.0 2015-10-26 09:09:28 -07:00
Adrian Zankich 02a62d043a Refactor firmata client library into seperate package
Green tests

Refactor tests to table driven

Refactor analog, digital and i2c

Fix tests

golint client package

Fix tests

Add ServoConfig

Rename query and i2c functions

Fix tests

Fix typo
2015-06-30 14:11:22 -07:00
Adrian Zankich 24fd35fbd6 update robeaux to 5d46e912ee 2014-12-24 12:27:57 -08:00
Adrian Zankich 56dbc2c9f3 Fix goveralls parsing error 2014-12-19 11:26:44 -08:00
Adrian Zankich 9f90b3469a Update coverage settings in Makefile and travis script 2014-12-19 11:03:13 -08:00
Adrian Zankich abc1f0b201 Update platforms to support the new Driver and Adaptor interfaces 2014-11-16 12:25:48 -08:00
Adrian Zankich b78249833d Merge branch 'master' into dev
Conflicts:
	CHANGELOG.md
	Makefile
	platforms/intel-iot/edison/edison_adaptor.go
	platforms/intel-iot/edison/edison_adaptor_test.go
	platforms/intel-iot/edison/pwm_pin.go
	platforms/intel-iot/intel-iot.go
	platforms/leap/leap_motion_adaptor.go
	platforms/leap/leap_motion_driver.go
	platforms/sphero/sphero_driver.go
	scripts/travis.sh
	version.go
2014-11-10 19:43:06 -08:00
Adrian Zankich a7cee22918 Add sysfs tests 2014-10-30 16:06:04 -07:00
Adrian Zankich 55fd5b1b64 Add Edison Support
Digital write works

Add PWMWrite

Add AnalogRead

Refactor edison adaptor

Enable more digital pins

Enable all digital pins

Add i2c support

Properly close i2c device

Restore proper examples

Add test stub

Add Edison README

Conflicts:
	scripts/travis.sh
2014-09-23 21:37:29 -07:00
Adrian Zankich 72aade7b3f Add Edison Support
Digital write works

Add PWMWrite

Add AnalogRead

Refactor edison adaptor

Enable more digital pins

Enable all digital pins

Add i2c support

Properly close i2c device

Restore proper examples

Add test stub

Add Edison README
2014-09-23 21:35:29 -07:00
derailed 11ff06b0ac First pass at adding some documentation 2014-08-13 10:22:58 -06:00
Adrian Zankich fba30ad428 Update robeaux to ddfaf931ca 2014-08-04 12:01:33 -07:00
Adrian Zankich d7b2d04e2d Move robeaux into it's own package 2014-07-10 11:35:00 -07:00
Adrian Zankich 99ac20c03a Include robeaux assets by default 2014-07-10 11:13:32 -07:00
Adrian Zankich 97a1dc67cc Merge branch 'dev' into refactor_device_connection 2014-07-07 22:04:02 -07:00
Adrian Zankich a6fdedcf38 Update gpio platform and driver interface 2014-07-03 19:14:04 -07:00
Adrian Zankich 9fdc9abe1a Fix robeaux support 2014-07-01 23:10:12 -07:00
Adrian Zankich 73ea4e53ab Update Makefile 2014-06-23 18:57:41 -07:00