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: 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;;