Skip to content

Commit

Permalink
Update Semaphore configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
rafasoares committed Feb 28, 2020
1 parent 51f41ff commit 46b2bab
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ blocks:
- bundle install --deployment -j 4 --path vendor/bundle
prologue:
commands:
- checkout
- cache restore
- gem install bundler -v $BUNDLER_VERSION
epilogue:
on_pass:
commands:
- cache store
dependencies:
- Checkout
- name: Code scanning
task:
jobs:
Expand All @@ -38,6 +39,8 @@ blocks:
- cache restore
- gem install bundler -v $BUNDLER_VERSION
- bundle install --deployment --path vendor/bundle
dependencies:
- Setup
- name: Unit tests
task:
prologue:
Expand All @@ -50,3 +53,16 @@ blocks:
- name: RSpec
commands:
- bundle exec rake spec
dependencies:
- Setup
- name: Checkout
dependencies: []
task:
epilogue:
always:
commands:
- cache store
jobs:
- name: 'Job #1'
commands:
- checkout

0 comments on commit 46b2bab

Please sign in to comment.