-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from eyefodder/continuous_integration
Continuous integration
- Loading branch information
Showing
8 changed files
with
43 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ capybara-*.html | |
/tmp | ||
/db/*.sqlite3 | ||
/public/system | ||
/coverage/ | ||
/reports/ | ||
/spec/tmp | ||
**.orig | ||
rerun.txt | ||
|
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
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
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,5 @@ | ||
if ENV['GENERATE_REPORTS'] == 'true' | ||
puts "GENERATE_REPORTS" | ||
require 'ci/reporter/rake/rspec' | ||
task :spec => 'ci:setup:rspec' | ||
end |
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,17 @@ | ||
# Location for generated ci reporter style test reports | ||
# this location is set to be somewhere that jenkins can find | ||
export CI_REPORTS=reports/spec | ||
|
||
|
||
# Location for generated simplecov test reports | ||
export CI_COVERAGE_REPORTS=reports/coverage | ||
|
||
|
||
# set to 'true' to output ci reporter style test reports | ||
export GENERATE_REPORTS=true | ||
|
||
|
||
# set to 'true' to output simplecov reports | ||
export GENERATE_COVERAGE_REPORTS=true | ||
|
||
export RAILS_ENV=test |
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
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,6 @@ | ||
Spex: Continuous Integration | ||
=========================== | ||
|
||
This example shows how to prepare your app for running on a [Jenkins] (http://jenkins-ci.org/) continuous integration server | ||
|
||
For more details, read my post about the process [on my blog] (http://eyefodder.com/2014/10/rails-continuous-integration.html ) |
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,6 @@ | ||
Spex: Image Upload | ||
=========================== | ||
|
||
This example shows how to upload images to the server using [CarrierWave] (https://github.com/carrierwaveuploader/carrierwave) and resize them with [ImageMagick] (http://www.imagemagick.org/). | ||
|
||
For more details, read my post about the process [on my blog] (http://eyefodder.com/2014/10/file-uploading.html ) |