ci: install gem and use go binary for test runs
This commit is contained in:
parent
60a9528a82
commit
df3c0b6b0f
@ -23,7 +23,8 @@ git config --global url."https://${HASHIBOT_USERNAME}:${HASHIBOT_TOKEN}@github.c
|
||||
gem install bundler -v "$(grep -A 1 "BUNDLED WITH" Gemfile.lock | tail -n 1)"
|
||||
make
|
||||
bundle install
|
||||
ln -s /vagrant/vagrant /bin/vagrant
|
||||
gem build vagrant.gemspec
|
||||
gem install vagrant*.gem
|
||||
|
||||
popd
|
||||
|
||||
|
||||
@ -3,6 +3,10 @@ set -x
|
||||
|
||||
export VAGRANT_EXPERIMENTAL="${VAGRANT_EXPERIMENTAL:-1}"
|
||||
export VAGRANT_SPEC_BOX="${VAGRANT_SPEC_BOX}"
|
||||
|
||||
# Explicitly use Go binary
|
||||
export VAGRANT_PATH=/vagrant/vagrant
|
||||
|
||||
vagrant-spec ${VAGRANT_SPEC_ARGS} --config /vagrant/test/vagrant-spec/configs/vagrant-spec.config.virtualbox.rb
|
||||
result=$?
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user