Skip to content

Commit a2c983f

Browse files
authored
Merge pull request #262 from rspec/bundle-install-flags-4-0-dev
Set bundler flags only if travis-ci present
2 parents 19d59e0 + d83df2a commit a2c983f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/script/functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function run_spec_suite_for {
8585
echo "Running specs for $1"
8686
pushd ../$1
8787
unset BUNDLE_GEMFILE
88-
bundle_install_flags=`cat .travis.yml | grep bundler_args | tr -d '"' | grep -o " .*"`
88+
bundle_install_flags=`cat .github/workflows/ci.yml | grep "bundle install" | sed 's/.* bundle install//'`
8989
travis_retry eval "(unset RUBYOPT; exec bundle install $bundle_install_flags)"
9090
run_specs_and_record_done
9191
popd

0 commit comments

Comments
 (0)