Skip to content

Instantly share code, notes, and snippets.

@rkh
Last active December 16, 2015 02:29
Show Gist options
  • Save rkh/5362568 to your computer and use it in GitHub Desktop.
Save rkh/5362568 to your computer and use it in GitHub Desktop.
#!/bin/bash -ex
[[ $RUBY ]] || (echo 'please set $RUBY' && exit 1)
rvm get stable
rvm reload
echo -n > $rvm_path/user/md5
echo -n > $rvm_path/user/sha512
rvm remove $RUBY
rvm install $RUBY --movable --verify-downloads 1
rvm prepare $RUBY
gem install travis-artifacts
travis-artifacts upload --path $RUBY.* --target-path binary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment