travis final fix

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

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

@ -21,7 +21,7 @@ if [[ -z "$DOCKER_DIST" ]]; then
make test
fi
if [[ "$GITSECRET_DIST" == 'none' ]]; then
# If running a native build, do a lint:
if [[ "$GITSECRET_LINT" == 'lint' ]]; then
# 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"
env: GITSECRET_DIST="none"; GITSECRET_GPG_DEP="gnupg"; SECRETS_GPG_COMMAND="gpg"; GITSECRET_LINT="lint"
sudo: required
language: ruby
addons:
@ -30,12 +30,6 @@ matrix:
env: GITSECRET_DIST="none"; GITSECRET_GPG_DEP="gnupg2"; SECRETS_GPG_COMMAND="gpg2"
sudo: required
language: ruby
addons:
apt:
sources:
- debian-sid
packages:
- shellcheck
- os: osx
env: GITSECRET_DIST="brew"; GITSECRET_GPG_DEP="gnupg"; SECRETS_GPG_COMMAND="gpg"
sudo: false

Loading…
Cancel
Save