forked from instructure/canvas-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change-Id: Iff43630b0f17c5d729e03da7a7c4243a3645ec27 Signed-off-by: Stephan Hagemann <[email protected]> Reviewed-on: https://gerrit.instructure.com/28593 Tested-by: Jenkins <[email protected]> Product-Review: Bryan Madsen <[email protected]> Reviewed-by: Bryan Madsen <[email protected]> QA-Review: Bryan Madsen <[email protected]>
- Loading branch information
1 parent
195dbb0
commit c0ef464
Showing
2 changed files
with
34 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,30 @@ | ||
rvm: | ||
- "1.9.3" | ||
before_script: | ||
- find ./config -depth -name "*.yml.example" -exec sh -c 'cp "$1" "${1%.yml.example}.yml"' _ {} \; | ||
- psql -c 'create database myapp_test;' -U postgres; cp ./config/database.yml.travis ./config/database.yml | ||
- RAILS_ENV=test rake db:migrate | ||
script: | ||
- bundle exec rake | ||
gemfile: | ||
- Gemfile | ||
env: | ||
- SPEC="spec/apis/**/[a-m]*_spec.rb" | ||
- SPEC="spec/apis/**/[n-z]*_spec.rb" | ||
- SPEC="spec/controllers/**/*_spec.rb" | ||
- SPEC="spec/gem_integration/**/*_spec.rb" | ||
- SPEC="spec/helpers/**/*_spec.rb" | ||
- SPEC="spec/initializers/**/*_spec.rb" | ||
- SPEC="spec/integration/**/*_spec.rb" | ||
- SPEC="spec/lib/**/*_spec.rb" | ||
- SPEC="spec/messages/**/*_spec.rb" | ||
- SPEC="spec/migrations/**/*_spec.rb" | ||
- SPEC="spec/models/[a-m]*_spec.rb" | ||
- SPEC="spec/models/[n-z]*_spec.rb" | ||
- SPEC="spec/models/*/*_spec.rb" | ||
- SPEC="spec/observers/**/*_spec.rb" | ||
- SPEC="spec/presenters/**/*_spec.rb" | ||
- SPEC="spec/selenium/**/*_spec.rb" | ||
- SPEC="spec/serializers/**/*_spec.rb" | ||
- SPEC="spec/services/**/*_spec.rb" | ||
- SPEC="spec/views/**/*_spec.rb" |
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,4 @@ | ||
test: | ||
adapter: postgresql | ||
database: myapp_test | ||
username: postgres |