From 60c849acef31c029d24ff1eb6016e90d39039719 Mon Sep 17 00:00:00 2001 From: Julio Sueiras Date: Sun, 3 Apr 2016 17:46:26 -0400 Subject: [PATCH 1/2] Typo fix Typo fix from `git congig user.email` to `git config user.email` --- src/commands/git_secret_tell.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/git_secret_tell.sh b/src/commands/git_secret_tell.sh index 2ff6c3ad..0bbfc151 100644 --- a/src/commands/git_secret_tell.sh +++ b/src/commands/git_secret_tell.sh @@ -16,7 +16,7 @@ function tell { h) _show_manual_for "tell";; m) # Set email of the git current user: - email=$(git config user.email) || _abort "'git congig user.email' is not set." + email=$(git config user.email) || _abort "'git config user.email' is not set." ;; d) homedir=$OPTARG;; From a9d69e24d4493512c3e67047dfba35d8b384a466 Mon Sep 17 00:00:00 2001 From: Julio Sueiras Date: Mon, 4 Apr 2016 12:13:06 -0400 Subject: [PATCH 2/2] Added travis test for gpg and gpg2 --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 57879b35..ebe541c7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,16 @@ language: c -sudo: false - +env: + - SECRETS_GPG_COMMAND=gpg + - SECRETS_GPG_COMMAND=gpg2 + branches: only: - master - develop install: + - test $SECRETS_GPG_COMMAND = gpg2 && sudo apt-get install gnupg2 || echo 0 - make install-test script: