Guest User

Untitled

a guest
Mar 28th, 2018
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. image: registry.your-gitlab-server.com/some-user/some-project:master
  2.  
  3. variables:
  4. RAILS_ENV: test
  5. POSTGRES_DB: test
  6. POSTGRES_USER: test
  7. POSTGRES_PASSWORD: test-password
  8.  
  9. before_script:
  10. - bundle install --without development production
  11.  
  12. rspec:
  13. services:
  14. - postgres:latest
  15. script:
  16. - bundle exec rake db:create db:schema:load
  17. - bundle exec rspec
  18.  
  19. code_quality:
  20. script:
  21. - bundle exec pronto run -f gitlab -c origin/master
  22.  
  23. vulnerabilities:
  24. script:
  25. - bundle audit check --update
  26.  
  27. updates:
  28. script:
  29. - bundle outdated --strict
  30. allow_failure: true
Add Comment
Please, Sign In to add comment