-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fbd0be4
commit e9ae866
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
version: v1.0 | ||
name: Human Enum | ||
agent: | ||
machine: | ||
type: e1-standard-2 | ||
os_image: ubuntu1804 | ||
containers: | ||
- name: main | ||
image: 'ruby:2.6.4' | ||
blocks: | ||
- name: Setup | ||
task: | ||
jobs: | ||
- name: bundle | ||
commands: | ||
- bundle install -j 4 --path vendor/bundle | ||
prologue: | ||
commands: | ||
- checkout | ||
- cache restore | ||
epilogue: | ||
on_pass: | ||
commands: | ||
- cache store | ||
- name: Code scanning | ||
task: | ||
jobs: | ||
- name: check style + security | ||
commands: | ||
- bundle exec rubocop | ||
prologue: | ||
commands: | ||
- checkout | ||
- cache restore | ||
- bundle install -j 4 --path vendor/bundle | ||
- name: Unit tests | ||
task: | ||
prologue: | ||
commands: | ||
- checkout | ||
- cache restore | ||
- bundle install -j 4 --path vendor/bundle | ||
jobs: | ||
- name: RSpec | ||
commands: | ||
- bundle exec rake spec |