60 Commits

Author SHA1 Message Date
Dale Hui
16197b67e3 Update to golangci-lint v1.16.0
- Fix newly raised issues
2019-04-07 00:51:27 -07:00
Kirill Muratov
8f6bfb0295 Added golangci-lint config 2019-03-22 21:11:31 +03:00
Dale Hui
f8f7beea54 Deploy using Go 1.12 2019-03-02 02:04:53 -08:00
Dale Hui
4fba554b47 Drop support for go1.10
- Remove dep package pinnings
2019-03-01 14:37:54 -08:00
Dale Hui
6593dc8dbf Support Go 1.12 2019-02-27 23:44:23 -08:00
Dale Hui
600f2eda93 Fix broken build
- `gem install` no longer recognizes the `--no-ri` and `--no-rdoc` options. Use `--no-document` instead.
    - References:
        - https://github.com/rubygems/rubygems/pull/2354
        - https://github.com/bundler/bundler/pull/6624
2019-01-03 16:35:22 -08:00
Dale Hui
d27dc63026 Move before_deploy steps to after_success to avoid re-building the binary before every deploy
- https://docs.travis-ci.com/user/job-lifecycle/#deploying-your-code
2018-11-27 13:48:57 -08:00
Dale Hui
83f5b9f644 Don't need to move and remove files before caching build data in Travis 2018-11-27 13:48:57 -08:00
Dale Hui
addb3c1a79 .deb package changes
- Install binary to /usr/local/bin instead of /usr/bin
    - Support recent/stable Debian and Ubuntu distros that work with .deb packages
2018-11-27 13:48:57 -08:00
Dale Hui
107db3f407 Revert "Remove support for Go modules"
This reverts commit 5e96539f55495f6fa80240037db6cb1886a99b89.
2018-10-10 16:15:33 -07:00
Dale Hui
5e96539f55 Remove support for Go modules 2018-10-10 13:34:03 -07:00
Dale Hui
f517029483 Test latest version of Go as well, but allow failures 2018-09-13 16:14:43 -07:00
Dale Hui
16f2b1736e Support Go 1.11 and drop support for Go 1.9
- Support modules in Go 1.11
2018-09-04 19:11:19 -07:00
Dale Hui
beb09d85fa Upgrade dep from v0.4.1 to v0.5.0 2018-08-15 12:08:25 -07:00
Dale Hui
bcd996f3df Use environment variables since there's no way to pass secure data to deploy script provider 2018-06-19 00:39:54 -07:00
Dale Hui
a1d959d0e9 Use latest version of docker 2018-06-18 23:07:54 -07:00
Dale Hui
71e97bccc7 Fix TravisCI conditional release 2018-06-18 21:42:31 -07:00
Dale Hui
21f566a60a Add docker hub credentials for uploading docker image 2018-06-17 17:42:03 -07:00
Dale Hui
c0b0829d5a Use "vanity" import to allow forks to build
https://docs.travis-ci.com/user/languages/go/#Go-Import-Path
2018-05-31 14:57:38 -07:00
Dale Hui
3cf42dd36d Don't need to re-solve package dependencies every time. Only use Gopkg.lock
Reference: https://github.com/golang/dep/blob/master/docs/ensure-mechanics.md#-no-vendor-and--vendor-only
2018-05-31 14:57:38 -07:00
Dale Hui
89e558ee4f Don't cache go source since dependencies are managed by dep now 2018-05-31 14:57:38 -07:00
Dale Hui
3de903f51f Use latest minor revision of Go 1.10 in TravisCI 2018-05-31 14:57:38 -07:00
Dale Hui
36dc939f91 Use dep for TravisCI builds 2018-05-31 14:57:38 -07:00
ItsAlex
fb7bb4f87a
add dockerization Fix #23
Signed-off-by: Alexandre MARRE <me@itsalex.fr>
2018-05-09 09:48:20 +02:00
Dale Hui
aa21a21647 Support Go 1.10 and drop support for 1.8
- Test using latest minor versions of the last 2 major (supported) releases
        - TravisCI's gimme doesn't support Go 1.10.x until a minor version is released
    - Explicitly use YAML strings so Go versions aren't interpreted as numbers
2018-02-20 15:20:43 -08:00
Dale Hui
f8fd159fbc Fork packagecloud releases 2018-01-20 02:10:22 -08:00
Dale Hui
2eb9570b52 Build release binaries (using G 1.9) and upload to Github using new key 2018-01-20 01:49:02 -08:00
Dale Hui
97ef1b8393 Remove redundant delay since the readyFn is sufficient 2018-01-20 00:11:35 -08:00
Dale Hui
8cbdc28e66 Source code needs to be kept for goveralls to use but removed before caching in travis-ci 2018-01-19 20:53:20 -08:00
Dale Hui
4ebf080da8 Speed up travis-ci builds by caching dependencies 2018-01-19 20:32:15 -08:00
Dale Hui
12cc536541 Drop support for Go 1.7
- Only the latest 2 major release version is supported. https://golang.org/doc/devel/release.html#policy
2018-01-19 15:36:13 -08:00
Dale Hui
303cd74e5f Fix Docker install on TravisCi by allowing the docker-ce package to be downgraded
- Started happening since TravisCI updated docker-ce https://docs.travis-ci.com/user/build-environment-updates/2017-12-12/
    - Can't use v17.09 since the git tag doesn't exist yet
2018-01-19 02:28:41 -08:00
Matthias Kadenbach
be1b075605 add go 1.9 for tests 2017-09-18 14:55:49 -07:00
Taylor Wrobel
4f9422ec85 Update docker dependency version to fix Tavis builds
Tavis has updated its docker images, and as part of the update,
no longer includes support for the (deprevated) docker-engine
package, moving instead to docker-ce.

See https://blog.travis-ci.com/2017-06-21-trusty-updates-2017-Q2-launch
for details of the package change.

This updates the travis configuration to pin the docker library
version to 17.05.0 and installs the corresponding version of
docker-ce in the install script.
2017-06-24 10:37:08 -07:00
Matthias Kadenbach
ec5c0ac3e0
fix version string 2017-02-23 10:36:33 -08:00
Matthias Kadenbach
511f9c1ffe
only deploy on version go 1.8 2017-02-23 10:30:18 -08:00
Matthias Kadenbach
6325327ba1
fix dir 2017-02-22 17:58:25 -08:00
Matthias Kadenbach
d60d590381
remove escaped new line 2017-02-22 17:48:50 -08:00
Matthias Kadenbach
5aac011e49
remove dups 2017-02-22 17:38:40 -08:00
Matthias Kadenbach
320d573ccd
fix sudo whitespace 2017-02-22 17:27:18 -08:00
Matthias Kadenbach
c51bef38b6
sudo 2017-02-22 17:15:40 -08:00
Matthias Kadenbach
d0acf6ecfe
build deb package and push to packagecloud 2017-02-22 16:41:11 -08:00
Matthias Kadenbach
87e6482497 travis build with go 1.8 2017-02-16 20:46:12 -08:00
Matthias Kadenbach
f47436e158 add make release 2017-02-08 19:54:50 -08:00
Matthias Kadenbach
f474e4cae1 travis builds dep tree info 2017-02-08 19:44:12 -08:00
Matthias Kadenbach
fe1b5c06eb add go coverage 2017-02-08 16:17:04 -08:00
Matthias Kadenbach
297a4227ef fixing travis 2017-02-08 01:49:57 -08:00
Matthias Kadenbach
ee384ed8cc initial version 3.0.0 preview
hard work
2017-02-07 22:01:29 -08:00
David Campbell
04e1cb0cfc Bump travis versions to use Go 1.6 and 1.7 2016-10-23 15:05:54 -07:00
Philippe Lafoucrière
65674ac4cc Dropping support for go 1.3 2015-10-22 19:29:14 -04:00