Commit Graph

75 Commits

Author SHA1 Message Date
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
deadprogram a943029651 Golang 1.3.3 still works, adding back to build 2016-02-17 12:25:15 -08:00
deadprogram ac39cfb39b Update targeted golang versions to include 1.6, and to begin deprecating 1.3.3 and earlier 2016-02-17 12:25:15 -08:00
deadprogram 23b8f41c89 Trying conditional build before_install 2016-02-17 12:25:14 -08:00
deadprogram cb39c33e5e Allow failures for go 1.2.2 since eclipse mqtt package no longer supports it. 2015-09-30 14:17:29 -07:00
deadprogram 66f5034cb2 We're going to support the latest patch of each major/minor version. 2015-09-30 14:06:20 -07:00
deadprogram 6042fa6853 Get specific about which Golang versions we support 2015-09-29 18:57:26 -07:00
deadprogram 47c0e10cde Run Travis builds against go 1.5 2015-09-29 17:05:19 -07:00
Adrian Zankich a8fa365990 Make travis happy 2015-07-15 16:46:40 -07:00
Adrian Zankich 527be9e8e0 Update travis build script
Update .travis.yml
2014-12-16 15:58:48 -08:00
Adrian Zankich 9a8cc46cd5 Update .travis.yml 2014-11-09 15:46:38 -08:00
Adrian Zankich 231298d9b8 Update .travis.yml 2014-11-03 19:17:06 -08:00
Adrian Zankich 30020075d4 Update .travis.yml 2014-07-23 17:00:41 -07:00
Adrian Zankich 59b5077ceb Add travis script 2014-07-22 11:16:49 -07:00
Adrian Zankich 2785875089 Update .travis.yml 2014-06-14 18:53:21 -07:00