From bb16b9616c8e4d83b124cb6dce65b71ef095ad86 Mon Sep 17 00:00:00 2001 From: Florent Clairambault Date: Sun, 9 Apr 2017 02:24:44 +0200 Subject: [PATCH 1/5] Trying to automatically upload binaries --- .travis.yml | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/.travis.yml b/.travis.yml index f306a1d3..e680e470 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,20 +1,18 @@ -# We don't really need it (at least for now) -# before_install: -# - sudo apt-get update -qq -# - sudo apt-get install ftp -qq - before_install: - - go get github.com/golang/lint/golint - - go get github.com/fzipp/gocyclo - +- go get github.com/golang/lint/golint +- go get github.com/fzipp/gocyclo language: go - -# We're building for the two last versions go: - - 1.7.x - - 1.8.x - +- 1.7.x +- 1.8.x script: - - ./.check-fmt.sh - - gocyclo -over 15 . - - go test -v ./... +- ./.check-fmt.sh +- gocyclo -over 15 . +- go test -v ./... +deploy: + provider: releases + api_key: + secure: K2o6tz2pw9OeIqVMu0sO01+9QFXA6GxG90PG3les4FOMqOUxyYZDPorMqlXpmAKD0mJWzP8PuWPSBfT9zSN3FkUHsjKA3mwvpab04rjFGr5ccmm90EfVttFyzAY45fokSA3fJo5T3iGjPbmg8Qtey2ST7X8dmuTt2i2kzv30cE2rmCE2wUfGWmq2r43ygaJBTjYtUCowxkDYsm/86qx0NB9SAD7LRDEWc62bcc0+CJZtRE5XXG4YhDJxDJWgMSEdwPt3i/c4NqYhOGCoLpBAh77mgHLJKf0NaThLa3Z6vVKog4/dBxJGSu+QvqA7jS6S6Pm72wWvcUqSPzL2TMk8zvD2KND9q6RPdTn1MuzvARn+IZOf5ndGgDjilcNgCXuC2adOzuo7rbecmTSkbzgux+RGRixr93p13Vn4Nt/WqLMq2ftqAv/gvmAi3OntShcKv9487zML/tDIxdvXXf7fmJDKl59eBKVddrY1GjzdcNVU8l+UoenrXIJh6+sTKcxLDVoqGb34T9QLWLYEK9bqGcmSHy9MFmjE/vh4vu8K8Fgrcpb/GHruRCqpFWIS2SxQaPawc8zVtBMXOvpnb8839Bi0HtdbInE6FynOUgHQ87UyFgwwB6v5YFAOgSpStpPqVX5O4UWZ2vNI1N83qSnxZfOmiayAA1Z7zlPPZTNq4rY= + file: ftppserver + on: + repo: fclairamb/ftpserver From 082be48e9f2ad7741caf6bb75cc86e9e149bf543 Mon Sep 17 00:00:00 2001 From: Florent Clairambault Date: Sun, 9 Apr 2017 02:42:33 +0200 Subject: [PATCH 2/5] Release artefacts improvements --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e680e470..9275f31d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,5 +14,6 @@ deploy: api_key: secure: K2o6tz2pw9OeIqVMu0sO01+9QFXA6GxG90PG3les4FOMqOUxyYZDPorMqlXpmAKD0mJWzP8PuWPSBfT9zSN3FkUHsjKA3mwvpab04rjFGr5ccmm90EfVttFyzAY45fokSA3fJo5T3iGjPbmg8Qtey2ST7X8dmuTt2i2kzv30cE2rmCE2wUfGWmq2r43ygaJBTjYtUCowxkDYsm/86qx0NB9SAD7LRDEWc62bcc0+CJZtRE5XXG4YhDJxDJWgMSEdwPt3i/c4NqYhOGCoLpBAh77mgHLJKf0NaThLa3Z6vVKog4/dBxJGSu+QvqA7jS6S6Pm72wWvcUqSPzL2TMk8zvD2KND9q6RPdTn1MuzvARn+IZOf5ndGgDjilcNgCXuC2adOzuo7rbecmTSkbzgux+RGRixr93p13Vn4Nt/WqLMq2ftqAv/gvmAi3OntShcKv9487zML/tDIxdvXXf7fmJDKl59eBKVddrY1GjzdcNVU8l+UoenrXIJh6+sTKcxLDVoqGb34T9QLWLYEK9bqGcmSHy9MFmjE/vh4vu8K8Fgrcpb/GHruRCqpFWIS2SxQaPawc8zVtBMXOvpnb8839Bi0HtdbInE6FynOUgHQ87UyFgwwB6v5YFAOgSpStpPqVX5O4UWZ2vNI1N83qSnxZfOmiayAA1Z7zlPPZTNq4rY= file: ftppserver + skip_cleanup: true on: - repo: fclairamb/ftpserver + tags: true From f38d105b04ececb2c080acfaaf7d970422e20afc Mon Sep 17 00:00:00 2001 From: Florent Clairambault Date: Sun, 9 Apr 2017 03:00:26 +0200 Subject: [PATCH 3/5] Release artefacts improvements --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 9275f31d..aa671e83 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,8 @@ script: - ./.check-fmt.sh - gocyclo -over 15 . - go test -v ./... +- go get -v +- go build -v deploy: provider: releases api_key: From 6407a7fdd2aa772f8f3822f098b065b34a12e1af Mon Sep 17 00:00:00 2001 From: Florent Clairambault Date: Sun, 9 Apr 2017 03:02:27 +0200 Subject: [PATCH 4/5] Release artefacts improvements --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index aa671e83..15fc4eff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,6 @@ script: - ./.check-fmt.sh - gocyclo -over 15 . - go test -v ./... -- go get -v - go build -v deploy: provider: releases From dd94c0aeaa74fe592fbc4cf1aafab155e455c99b Mon Sep 17 00:00:00 2001 From: Florent Clairambault Date: Sun, 9 Apr 2017 03:06:15 +0200 Subject: [PATCH 5/5] Release artefacts improvements --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 15fc4eff..6989f3b5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ deploy: provider: releases api_key: secure: K2o6tz2pw9OeIqVMu0sO01+9QFXA6GxG90PG3les4FOMqOUxyYZDPorMqlXpmAKD0mJWzP8PuWPSBfT9zSN3FkUHsjKA3mwvpab04rjFGr5ccmm90EfVttFyzAY45fokSA3fJo5T3iGjPbmg8Qtey2ST7X8dmuTt2i2kzv30cE2rmCE2wUfGWmq2r43ygaJBTjYtUCowxkDYsm/86qx0NB9SAD7LRDEWc62bcc0+CJZtRE5XXG4YhDJxDJWgMSEdwPt3i/c4NqYhOGCoLpBAh77mgHLJKf0NaThLa3Z6vVKog4/dBxJGSu+QvqA7jS6S6Pm72wWvcUqSPzL2TMk8zvD2KND9q6RPdTn1MuzvARn+IZOf5ndGgDjilcNgCXuC2adOzuo7rbecmTSkbzgux+RGRixr93p13Vn4Nt/WqLMq2ftqAv/gvmAi3OntShcKv9487zML/tDIxdvXXf7fmJDKl59eBKVddrY1GjzdcNVU8l+UoenrXIJh6+sTKcxLDVoqGb34T9QLWLYEK9bqGcmSHy9MFmjE/vh4vu8K8Fgrcpb/GHruRCqpFWIS2SxQaPawc8zVtBMXOvpnb8839Bi0HtdbInE6FynOUgHQ87UyFgwwB6v5YFAOgSpStpPqVX5O4UWZ2vNI1N83qSnxZfOmiayAA1Z7zlPPZTNq4rY= - file: ftppserver + file: ftpserver skip_cleanup: true on: tags: true