mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
chore(travis): install correct version of ruby
This commit is contained in:
parent
3cc62ce35d
commit
2e7af829b6
|
@ -43,7 +43,15 @@ check() {
|
|||
fi
|
||||
}
|
||||
|
||||
# The system ruby in Travis CI is too old, use latest stable
|
||||
get_ruby_version() {
|
||||
rvm get stable
|
||||
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
|
||||
rvm use ruby --install --default
|
||||
}
|
||||
|
||||
main() {
|
||||
get_ruby_version
|
||||
install_ccache
|
||||
build
|
||||
check
|
||||
|
|
Loading…
Reference in New Issue
Block a user