From bab31a9a840cbe7da4868d80a0acb69ee63a9874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmed=20=C5=9Eeref=20G=C3=BCneysu?= Date: Thu, 7 Mar 2019 20:21:29 +0300 Subject: [PATCH 1/2] TravisCI Integration - Build binary releases for linux, windows, mac x86 and amd64 archs. --- .travis.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c5a8749..e80b5cd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,8 +11,12 @@ env: - GOARCH=amd64 - GO_FOR_RELEASE=1.11 - GO111MODULE=on + script: - - go build + - go get -t -v + - gox -os="linux darwin windows" -arch="amd64" -verbose + - gox -os="linux darwin windows" -arch="386" -verbose + before_deploy: - git config --local user.name "gencebay" - git config --local user.email "gencebay.demir@gmail.com" @@ -22,7 +26,9 @@ deploy: provider: releases api_key: secure: ixQPehGZq0hYS+yipgl9bfrhekNAs4isn2hpT7ab3fAuIF0O+5JAlso1+1MfH5Pct0MZ2p72lu8tVJ+AdfLcaNGxdPC71Xv/eWmHheUWIzm3gj9Pe4GFvuxITqOY71I1RS4rMJeZTKdQ8EtN2+hcwdkaNRhVbzZO7pat3ewIiWsbLsao53r9yh6uT+coIY9JSXg10Srdtf2Xfxcd/KqFbMrpGLRWaF7bsfdELbNEfHgjUWvsWolXvm99F9z94pxtaPBG6+0hxPt9j6X5hUTia4F/xuNDXGi+9Brw67CQARzqIxjdDfgqCkK9wr+/oYcbnccymAy53Td0nMGbuhxbVTlyq8MJhDA0aIHn9ly/raastOScXZVgmIhigl9Mj/gP3nZDUfcRUyU1VpVlphOzVSGh20kiBoELGYnr8nwBElI27Jb9kPx5OoUsqU8SUOJ00CLu+71NlfFSLKWMIqrGEPA2oDEEg0XOgstsY1PAK0Dqc4/tfxZs+59Q7/IP/7mJVtDPw0602F66+CoIEedfKCwgLvNusPqPz5zr+HbKlQb7RY5zHF8wmIo7qWxKO8leR/8zdKfua662xiPbAcUIOcM+tgbnfPrEiCGRTRccpmIb4MTKCJb1SUyo2yA9U/gbuJllTb+nuJ4RZyv/du0A8mldUR0PsF8E71lI07bTIUo= - file: httplive + file_glob: true + file: + - "httplive_*" skip_cleanup: true on: repo: gencebay/httplive From 55bd214599f3dcf7af0b00e46554cf4780b08f4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmed=20=C5=9Eeref=20G=C3=BCneysu?= Date: Thu, 7 Mar 2019 20:42:12 +0300 Subject: [PATCH 2/2] TravisCI Integration gox install --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index e80b5cd..420b931 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,9 @@ env: - GO_FOR_RELEASE=1.11 - GO111MODULE=on +before_install: + - go get github.com/mitchellh/gox + script: - go get -t -v - gox -os="linux darwin windows" -arch="amd64" -verbose