Trying to fix macos tests

pull/117/head
Carlos Hernandez 7 years ago
parent 1985575dbf
commit 1f5e7bfb1e

@ -20,6 +20,7 @@ function install_ansible {
# Mac:
if [[ "$GITSECRET_DIST" == "brew" ]]; then
brew install "$GITSECRET_GPG_DEP"
brew install gawk
fi
# Linux:

@ -13,10 +13,10 @@ function run_kitchen_tests {
}
# Local builds:
if [[ "$GITSECRET_DIST" == "brew" ]] || [[ "$GITSECRET_DIST" == "none" ]]; then
if [[ "$GITSECRET_DIST" == "brew" ]]; then
# Only running `make test` on standard (non-docker) build,
# since it is called inside the docker container anyway.
make test
PATH="/usr/local/opt/$GITSECRET_GPG_DEP/libexec/gpgbin:$PATH" make test
fi
# Linux:

@ -78,7 +78,7 @@ matrix:
language: ruby
rvm: 2.4
- os: osx
env: GITSECRET_DIST="brew"; GITSECRET_GPG_DEP="gpg1"
env: GITSECRET_DIST="brew"; GITSECRET_GPG_DEP="gnupg@1.4"
sudo: false
language: generic
- os: osx

Loading…
Cancel
Save