travis final fix

pull/48/head
sobolevn 8 years ago
parent 66b326a077
commit 7b7289b570
No known key found for this signature in database
GPG Key ID: FF672D568AE3C73E

@ -18,13 +18,6 @@ fi
# Local linux (standart build):
if [[ "$GITSECRET_DIST" == "none" ]]; then
if [[ "$GITSECRET_LINT" == 'lint' ]]; then
sudo apt-get update
# Installing linter:
sudo apt-get install -y shellcheck
fi
if [[ "$GITSECRET_GPG_DEP" == "gnupg2" ]]; then
# Installing custom GPG version:
sudo apt-get install -y gnupg2

@ -21,7 +21,8 @@ if [[ -z "$DOCKER_DIST" ]]; then
make test
fi
if [[ "$GITSECRET_LINT" == 'lint' ]]; then
if [[ $(command -v shellcheck; echo $?) -eq 0 ]]; then
echo 'running lint'
# If running a native build with lint param, do a lint:
find src -type f -name '*.sh' -print0 | xargs -0 -I {} shellcheck {}
fi

@ -17,7 +17,7 @@ matrix:
sudo: required
language: ruby
- os: linux
env: GITSECRET_DIST="none"; GITSECRET_GPG_DEP="gnupg"; SECRETS_GPG_COMMAND="gpg"; GITSECRET_LINT="lint"
env: GITSECRET_DIST="none"; GITSECRET_GPG_DEP="gnupg"; SECRETS_GPG_COMMAND="gpg"
sudo: required
language: ruby
addons:

Loading…
Cancel
Save