Commit graph

31 commits

Author SHA1 Message Date
Jim Eagle
4ef1d502cd
Update Go version in CI (#1147)
* Update ci go

* Update setup-go

* Update checkout

* Update golangci-lint-action

* Upgrade golangci-lint
2022-04-01 17:55:27 +03:00
Eric Wohltman
9c33bfbada
Update unmarshal function to wrap ErrJSONUnmarshal and return specific error message. Requires at least Go 1.13. (#924) 2021-05-14 22:30:27 -04:00
Carson Hoffman
96848bf0be
Drop 1.11 and 1.12 checks in Travis 2021-01-16 21:45:20 -05:00
Aditya Diwakar
a2751f6d16
Add Go v1.15 in CI (#803) 2020-08-12 10:22:20 -04:00
Carson Hoffman
498ed48e63
Drop Go 1.10 support in Travis 2020-07-22 12:34:10 -04:00
Carson Hoffman
72b6e0d4d2
Add Go 1.14, force module support in Travis 2020-07-22 12:31:24 -04:00
Bruce Marriner
9a0071df7e Update tested versions. 2019-10-18 11:32:51 -05:00
Robert M
797adeefde Fixed travis test failing for older versions of go (#604)
* Fixed travis test failing for older versions of go

* changed supported go version
2018-10-24 15:15:31 -07:00
Daniel Thorpe
e8cd93cf15 Add a listening status method (#508)
* Bump to v0.17.0

* Add members from GuildMembersChunk to state (#454)

* Revert "Add members from GuildMembersChunk to state (#454)" (#455)

This reverts commit e4487b30d4.

* travis: update go versions

* Allowed setting the game to null.

* Allowed for setting status to listening.

* Changed variable names for better consistency

* Reverted updateStatus to maintain API compatibility, instead added now
UpdateListeningStatus method which directly calls UpdateStatusComplex.

* Fix version to 0.18.0-alpha

* Make the new UpdateListeningStatus read a bit better.

* Updated setting game to nil for better compatibility.

* Remove the explicit nil check, as no longer seems to be needed.

* Fix comment styling.

* Remove idle as unused.
2018-02-08 20:50:07 -08:00
Bruce Marriner
2c2b0166af Run tests vs Go 1.7, 1.8, and 1.9 2017-12-27 20:04:55 +00:00
Bruce Marriner
277bbbebee I don't want your non-linted code. 2017-11-08 19:41:40 +00:00
Bruce
2feb43f068 Merge branch 'master' into develop
Conflicts:
	README.md
	discord.go
2017-05-15 14:59:20 +00:00
Bruce Marriner
94ee1fb978 Add Go 1.8 to travis tests 2017-02-20 08:23:28 -06:00
Chris Rhodes
002b6b91ca Merge branch 'develop' 2016-12-10 06:42:35 -08:00
Bruce Marriner
e650021037 Test against 1.6 and 1.7, make lint fatal again. 2016-12-08 10:16:37 -06:00
Chris Rhodes
9b41864a68 Remove 1.5, lint is broken :(
:killme:
2016-10-04 20:12:36 -07:00
Chris Rhodes
c4c27915f7 Bring back 1.5, make lint non fatal. 2016-10-04 20:12:31 -07:00
Chris Rhodes
9ac041f85a Remove 1.5 from travis as golint seems to have lost support. 2016-10-04 20:12:25 -07:00
Chris Rhodes
4b9d2e31cc Remove 1.5, lint is broken :(
:killme:
2016-10-04 20:07:32 -07:00
Chris Rhodes
f31b65315b Bring back 1.5, make lint non fatal. 2016-10-04 20:01:07 -07:00
Chris Rhodes
3cf4816e18 Remove 1.5 from travis as golint seems to have lost support. 2016-10-04 19:51:08 -07:00
Bruce Marriner
9069f81c6e Better gofmt check, now without an error. 2016-06-17 16:36:05 -05:00
Bruce Marriner
90b83fefeb Make travis check format, and test it.. 2016-06-17 16:28:49 -05:00
Bruce Marriner
ab465c38c4 drop 1.4, add tip, make golint error. 2016-06-17 15:05:23 -05:00
Bruce Marriner
d6c91f2350 Try 2? 2016-06-17 14:51:49 -05:00
Bruce Marriner
d7fd659073 Add race and vet testing. 2016-06-17 14:36:12 -05:00
Bruce Marriner
7922e71d1e Add CI tests for Go 1.6 2016-04-25 12:19:55 -05:00
Bruce Marriner
022347aeba Removed support for 1.3, closes #177 2016-04-25 11:47:42 -05:00
Bruce Marriner
2d634bc612 Reduce number of tests by removing go tip tests. 2016-01-09 14:50:03 -06:00
Bruce Marriner
6be9be241d Lets see if Travis will test using Go 1.3, 1.4, 1.5, and tip. 2016-01-07 15:38:54 -06:00
Bruce Marriner
2af61ea2c5 First commit of Travis CI file 2015-11-16 15:09:09 -06:00