1
0
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:
sudden6 2017-10-09 23:18:43 +02:00
parent 3cc62ce35d
commit 2e7af829b6
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -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