From 1bdfde59b266ebded456df64c2ebc01e64b28f08 Mon Sep 17 00:00:00 2001 From: cornfeedhobo Date: Sun, 12 Nov 2017 19:46:29 -0600 Subject: [PATCH] refactor to add travis-ci --- .travis.yml | 13 ++++++------- README.md | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3c8dd76..a020a6b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,17 +7,16 @@ go: - 1.9 script: - - GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags "-s" -a -installsuffix cgo -o ssh-keydgen-linux-amd64 - - GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -ldflags "-s" -a -installsuffix cgo -o ssh-keydgen-darwin-amd64 - - GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -ldflags "-s" -a -installsuffix cgo -o ssh-keydgen-windows-amd64 + - go get github.com/mitchellh/gox + - CGO_ENABLED=0 gox -ldflags "-s" -rebuild deploy: + on: + tags: true + go: 1.9 provider: releases api_key: secure: Fo3WhmhJB+gZ0wvUybQytg+tTcBnpCkafifnmOUj74zAbXbCnhoomIc9QhfNJciyrDV7bbVQCH9KmPiHP1bv/d6BE6Ft19hPtwdfreJ31TjuXEki0/WjH4iStv95AVhonxChMt4Whr96G0qPnEkmjF1+CurPA3v7FrqbAoYFrruO57I4uIIrHQYbW8N1fusX4AI4LgHqqJ5Kw5XHLvOqWd+ZsNd9t1O6rm49N7My3/xjYrG2T5uw/cycwIxFWYMD6joVNQ0r0DdPsjARkgKDqUZ0H9sbCem7FF/FnQN7bemJ5yiZKNnv5WBfOIpoh42fQFSnPyRLiIN8DQ+PualtEu4Y5Vn5xg80n9hcIV8wN9O8y8dGTd0vWnHpZaeHJ7mhBamahj5tHW7X444pLDPQTg6JYTI2javPj4hs4GpNnnieVkofVoTBsH3JxcxuSlLgNJ9dTZJFMF9wLDOfT9VSyAYpMx5GACLpoKFsVvWYbi9ZmjWtmJQfIas7DBOaWsLlimgb7Kk8Eh+CjaGPRWmvss+GwU2gbGBwQLWU/gZZabl8Y/E+aoL/UWziuv/X4fe0DHPHG6a3zviVVkkCuF6JxqfOf+8YU2zgdJqdPOwzQccMwTngvs+VMZ+7uXvJSg+COSDCziBSnnVEU7Spx8egzhabkJAGsFnvsKtDrkpEjpE= skip_cleanup: true file_glob: true - file: ssh-keydgen-* - on: - tags: true - go: 1.9 + file: ssh-keydgen_* diff --git a/README.md b/README.md index ab17cd2..7b37572 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -ssh-keydgen +ssh-keydgen [![Travis](https://img.shields.io/travis/cornfeedhobo/ssh-keydgen.svg)]() [![Github All Releases](https://img.shields.io/github/downloads/cornfeedhobo/ssh-keydgen/total.svg)]() =========== Generate _Deterministic_ SSH keys