.semaphore/semaphore.yml
version: v1.0
name: Ruby
agent:
machine:
type: e1-standard-2
os_image: ubuntu1804
blocks:
- name: Test
task:
jobs:
- name: Test
commands:
- checkout
- sem-version ruby 2.6.5
- cache restore
- bundle install --path vendor/bundle
- cache store
- bundle exec rspec