Commit Graph

89 Commits

Author SHA1 Message Date
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
deadprogram 4387a0b2f7 test: remove Golang 1.5 from TravisCI tests in prep for Golang 1.8 release
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-30 13:20:49 +01:00
deadprogram 18a18e29a1 test: update TravisCI build to use go1.8rc3
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-27 08:03:28 +01:00
deadprogram bc857d5cc7 test: add go1.8rc2 to build matrix for TravisCI
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-23 19:50:10 +01:00
deadprogram 82542abd68 test: add golang 1.8rc1 to tests run by Travis CI
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-14 12:26:15 +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 d6af26a8a2 test: Add Golang 1.8beta2 to Travis builds
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-27 13:06:30 +01:00
deadprogram 480b739c02 test: remove golang 1.4 from build matrix for Travis
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-08 21:30:07 +01:00
deadprogram be6c1d3809 test: add golang 1.8beta1 to build matrix for Travis
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-08 21:23:33 +01:00
deadprogram 6ca1e6b7ec core: travis config to use canonical import path
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-08 13:36:44 +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 5cbd3528f2 nats: refactor and skip tests that require actual server connection
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-02 09:56:37 +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
deadprogram 6744885fa3 test: reduce Travis builds to golang 1.4+ since it is late 2016 already
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-03 10:25:56 +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 d8071bddb2 test: experimental Travis build setting
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-03 08:13:02 +02:00
deadprogram f5ef99e39c core: update tests to include new drivers location
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-01 17:25:00 +02:00
deadprogram dfb9dfea51 test: add golang 1.7 to Travis CI tests
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-01 12:45:25 +02:00
Cale Hoopes dcb6354b49 Another attempt at correct Travis syntax for gnatsd -#5
Signed-off-by: Cale Hoopes <caledh@gmail.com>
2016-07-17 15:25:48 -07:00
Cale Hoopes 6ca77afb27 Another attempt at correct Travis syntax for gnatsd -#4
Signed-off-by: Cale Hoopes <caledh@gmail.com>
2016-07-17 15:21:46 -07:00
Cale Hoopes 904c803ecc Another attempt at correct Travis syntax for gnatsd -#3
Signed-off-by: Cale Hoopes <caledh@gmail.com>
2016-07-17 15:16:31 -07:00
Cale Hoopes 54952eee04 Another attempt at correct Travis syntax for gnatsd -#2
Signed-off-by: Cale Hoopes <caledh@gmail.com>
2016-07-17 14:55:06 -07:00
Cale Hoopes 118996c746 Another attempt at correct Travis syntax for gnatsd
Signed-off-by: Cale Hoopes <caledh@gmail.com>
2016-07-17 14:51:17 -07:00
Cale Hoopes cca8b5624b Fixing tests, adding a few more, adding nats server to Travis CI for testing
Signed-off-by: Cale Hoopes <caledh@gmail.com>
2016-07-17 14:39:34 -07:00
deadprogram d84d02879c Allow failures in Travis builds for Golang 1.3 due to SDL changes 2016-03-12 15:07:19 -08:00
deadprogram a5bc3a66b4 Failure is no longer an option for Go 1.6 2016-02-17 12:25:15 -08:00
deadprogram 8273643082 Run builds against the latest major releases 2016-02-17 12:25:15 -08:00