mirror of https://github.com/sobolevn/git-secret
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
551 B
Bash
26 lines
551 B
Bash
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
function run_kitchen_tests {
|
|
ansible --version
|
|
ruby --version
|
|
python --version
|
|
pip --version
|
|
bundler --version
|
|
bundle show
|
|
bundle exec kitchen test --test-base-path="$PWD/.ci/integration" $KITCHEN_REGEXP
|
|
}
|
|
|
|
# Local builds:
|
|
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
|
|
fi
|
|
|
|
# Linux:
|
|
if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ -n "$KITCHEN_REGEXP" ]]; then
|
|
run_kitchen_tests
|
|
fi
|