forked from rubygems/rubygems
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Continuous Integration config enhancements and wrapper script. Suppor…
…t for multiple interpeters via RVM, better reproducibility of failed builds via environment auto-setup in wrapper script, and granular control over failure notifications emails for selected interpreters
- Loading branch information
1 parent
46147b6
commit fda095d
Showing
2 changed files
with
46 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# You must ensure that rake, hoe, and minitest are already installed in specified RVM interpreter | ||
export rvm_install_on_use_flag=1 | ||
export rvm_gemset_create_on_use_flag=1 | ||
rvm use $1 | ||
. $HOME/.rvm/environments/ruby-$1 | ||
|
||
# TODO: How can you make Hoe's check_extra_deps not use sudo? | ||
#rake check_extra_deps default | ||
# install gems manually for now | ||
gem install 'rake' --no-ri --no-rdoc | ||
gem install 'hoe' --no-ri --no-rdoc | ||
gem install 'builder' -v '~> 2.1' --no-ri --no-rdoc | ||
gem install 'hoe-seattlerb' -v '~> 1.2' --no-ri --no-rdoc | ||
gem install 'minitest' -v '~> 1.4' --no-ri --no-rdoc | ||
gem install 'session' -v '~> 2.4' --no-ri --no-rdoc | ||
|
||
echo "----------------------------" | ||
echo "Build environment:" | ||
cat /etc/issue | ||
uname -a | ||
ruby -v | ||
gem env | ||
gem list | ||
echo "----------------------------" | ||
|
||
rake default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters