Untitled
unknown
yaml
a year ago
884 B
2
Indexable
Never
version: 0.2 phases: install: runtime-versions: ruby: 2.7 commands: # Install rbenv - apt-get update - apt-get install -y git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev libffi-dev - git clone https://github.com/rbenv/rbenv.git ~/.rbenv - echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc - echo 'eval "$(rbenv init -)"' >> ~/.bashrc - exec $SHELL # Install ruby-build plugin - git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build # Install rbenv 3.1.2 - rbenv install 3.1.2 - rbenv global 3.1.2 - ruby -v build: commands: # Install dependencies and run tests - gem install bundler - bundle install - bundle exec rspec spec/