Last active
August 8, 2023 05:52
-
-
Save divineforest/15e3a17bb6572df56101 to your computer and use it in GitHub Desktop.
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
rvm: | |
- 2.1.3 | |
env: | |
global: | |
- DATABASE_URL=postgres://postgres@localhost/app | |
matrix: | |
- BUILD_CMD='rspec' | |
- BUILD_CMD='rake assets:precompile RAILS_ENV=production' | |
- BUILD_CMD='rake db:setup RAILS_ENV=development' | |
before_script: | |
- bundle exec rake db:create db:migrate | |
script: eval bundle exec ${BUILD_CMD} |
- BUILD_CMD='rspec spec/api spec/bins spec/controllers spec/decorators spec/helpers'
- BUILD_CMD='find spec/features -type f -name "[a-l]*spec.rb" -print | xargs bundle exec rspec --tag js'
- BUILD_CMD='find spec/features -type f -name "[m-z]*spec.rb" -print | xargs bundle exec rspec --tag js'
- BUILD_CMD='rspec --tag ~js spec/features'
- BUILD_CMD='rspec spec/lib spec/mailers spec/services spec/stats spec/values spec/workers'
- BUILD_CMD='rspec spec/models'
- BUILD_CMD='rake assets:precompile app:error_pages:generate RAILS_ENV=production REDIS_URL=redis://localhost:6379'
- BUILD_CMD='rake reset RAILS_ENV=development'
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
- BUILD_CMD='brakeman -z'