Commit Graph

115 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
Ron Evans c4bd88c03d build: only build last 2 versions of Go plus tip for CI
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-05-22 11:34:39 +02:00
Harald Nordgren e00e9a4672 Bump Travis versions 2019-05-22 11:34:39 +02:00
Trevor Rosen 529e71bf10 Update Gopkg and add test dep to Travis YML 2019-05-22 11:34:39 +02:00
Ron Evans 0f859ffddd build: update to Go 1.10.3 and 1.9.7 for Travis builds
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-06-08 10:48:06 +02:00
Ron Evans 64315a9a14 build: correct profile file location for codecov upload
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-05-30 17:47:52 +02:00
Ron Evans 8fd948cdda build: single quotes needed to upload any .cov file to codecov for reporting
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-05-30 16:42:45 +02:00
Ron Evans 5c8401ef44 build: use go 1.10.2 and 1.9.6 for Travis builds
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-05-30 15:43:31 +02:00
Ron Evans 27465a18bd build: upload any .cov file to codecov for reporting
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-05-30 15:38:51 +02:00
Ron Evans 06e1cbaf58 build: update to latest Golang versions
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-20 16:38:13 +02:00
Ron Evans 5be0b33237 build: update to latest version of Go 1.10 for Travis build
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-12 12:25:39 +02:00
Ron Evans 996c72700e build: update Travis build to use very latest Go versions
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-02-14 10:50:57 +01:00
Trevor Rosen f31cc60c10
Without punctuation, we are lost 2017-11-14 11:23:06 -06:00
Trevor Rosen c0088f5d61
LDFLAGS in test.sh; improve format check 2017-11-14 11:08:41 -06:00
Trevor Rosen 9d5449d173
Tweaking fmt; fixing LD typo 2017-11-09 11:44:19 -06:00
Trevor Rosen f5be81e50c
Fix accidental OpenCV LDFLAGS alteration 2017-11-09 11:14:29 -06:00
Trevor Rosen 100821276f Fix patch version for 1.8 2017-11-06 13:52:06 -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 dba5604af7
Fix typo 2017-11-04 17:36:09 -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 e5183e84d5 build: update to use latest Golang versions
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-27 13:41:53 +02:00
deadprogram f37af5cd47 build: add missing OpenCV lib dependency
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-22 12:03:35 +02:00
deadprogram 4cdf00c4d3 opencv: Travis build will now reqquire sudo to install
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-05 17:08:56 +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
deadprogram e33300197b build: Update build to use latest Golang versions
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-05 11:49:08 +02:00
deadprogram 6b51c9da85 build: add go1.9 to versions tested in Travis CI
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-08-25 07:00:17 +02:00
deadprogram 0a683c8de3 build: update build to use Golang 1.8.3
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 2222076294 build: update build to use Golang 1.7.6 and 1.8.2
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 56db251c28 build: run test coverage with covermode=set
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 9b67d8990d build: remove race check
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-03 22:22:07 +02:00
deadprogram c447a7259d build: remove race check
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-03 22:08:21 +02:00
deadprogram ad75256f79 build: try to remove all extra package installs for trusty
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-02 20:52:04 +02:00
deadprogram fc1e7e214e build: try to remove package install for trusty-media
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-02 20:47:38 +02:00
deadprogram c2dad31097 build: switching to Travis builds using Ubuntu 14.04 Trusty
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-02 20:19:44 +02:00
deadprogram 95ce2dad97 build: switching to Travis builds using Ubuntu 14.04 Trusty
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-02 20:18:11 +02:00
deadprogram 7572f32c54 build: try trusty-media repo for Travis container-based builds
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-30 14:24:57 +02:00
deadprogram 979b938a9a build: use partner-precise repo for Travis container-based builds
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-30 14:23:13 +02:00
deadprogram 0ffcdf682a build: use ubuntu-toolchain-r-test repo for Travis container-based builds
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-30 14:12:39 +02:00
deadprogram 2f17791a69 build: use debian-sid repo for Travis container-based builds
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-30 13:40:16 +02:00
deadprogram cf09f9f379 build: use correct formatting for travis.yml
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-30 13:36:55 +02:00
deadprogram 2d9448b0c1 build: use licid and kubuntu-backports repos for Travis container-based builds
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-30 13:34:25 +02:00
deadprogram 59f8dac005 build: use precise for Travis container-based builds
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-30 13:21:12 +02:00
deadprogram 0e16c08525 build: first attempt at using Travis container-based builds
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-30 13:10:04 +02:00
deadprogram 6b0931998d test: use Golang 1.7.5 for 1.7.x testing
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-27 09:08:16 +02:00
deadprogram b5e0460d01 test: update Travis to run tests using Golang 1.8.1
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-08 17:36:25 +02:00
deadprogram 5797fdad6b test: resolve merge conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-02 23:52:37 +02:00
Marc-Antoine Ruel 88addd428f Add crude travis check for gofmt; format all sources
The check ensures no gofmt regression occurs. Formatting the code makes everyone happy.
2017-03-27 14:10:37 -04: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 3650241fce test: remove TravisCI tests for go 1.6
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-17 08:30:18 +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