Skip to content

Instantly share code, notes, and snippets.

@mdesanti
Created March 27, 2018 16:37
Show Gist options
  • Save mdesanti/a41436481433a938aaf4ee3f7b9489bb to your computer and use it in GitHub Desktop.
Save mdesanti/a41436481433a938aaf4ee3f7b9489bb to your computer and use it in GitHub Desktop.
config:
dockerfile: .woloxci/Dockerfile
project_name: some-project-name
services:
- postgresql
- redis
steps:
analysis:
- bundle exec rubocop -R app spec --format simple
- bundle exec rubycritic --path ./analysis --minimum-score 80 --no-browser
setup_db:
- bundle exec rails db:create
- bundle exec rails db:schema:load
test:
- bundle exec rspec
security:
- bundle exec brakeman --exit-on-error
audit:
- bundle audit check --update
environment:
RAILS_ENV: test
GIT_COMMITTER_NAME: a
GIT_COMMITTER_EMAIL: b
LANG: C.UTF-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment