Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kazuhiko Shiozaki
gitlab-ce
Commits
f6f80659
Commit
f6f80659
authored
Mar 14, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Override rake spec and rake spinach tasks
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
50670948
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
3 deletions
+28
-3
.travis.yml
.travis.yml
+0
-2
lib/tasks/gitlab/test.rake
lib/tasks/gitlab/test.rake
+0
-1
lib/tasks/spec.rake
lib/tasks/spec.rake
+14
-0
lib/tasks/spinach.rake
lib/tasks/spinach.rake
+14
-0
No files found.
.travis.yml
View file @
f6f80659
...
...
@@ -21,8 +21,6 @@ services:
before_script
:
-
"
cp
config/database.yml.$DB
config/database.yml"
-
"
cp
config/gitlab.yml.example
config/gitlab.yml"
-
"
bundle
exec
rake
db:setup"
-
"
bundle
exec
rake
db:seed_fu"
script
:
"
bundle
exec
rake
$TASK
--trace"
notifications
:
email
:
false
lib/tasks/gitlab/test.rake
View file @
f6f80659
...
...
@@ -2,7 +2,6 @@ namespace :gitlab do
desc
"GITLAB | Run all tests"
task
:test
do
cmds
=
[
%W(rake gitlab:setup)
,
%W(rake spinach)
,
%W(rake spec)
,
%W(rake jasmine:ci)
...
...
lib/tasks/spec.rake
0 → 100644
View file @
f6f80659
Rake
::
Task
[
"spec"
].
clear
desc
"GITLAB | Run specs"
task
:spec
do
cmds
=
[
%W(rake gitlab:setup)
,
%W(rspec spec)
,
]
cmds
.
each
do
|
cmd
|
system
({
'RAILS_ENV'
=>
'test'
,
'force'
=>
'yes'
},
*
cmd
)
raise
"
#{
cmd
}
failed!"
unless
$?
.
exitstatus
.
zero?
end
end
lib/tasks/spinach.rake
0 → 100644
View file @
f6f80659
Rake
::
Task
[
"spinach"
].
clear
desc
"GITLAB | Run spinach"
task
:spinach
do
cmds
=
[
%W(rake gitlab:setup)
,
%W(spinach)
,
]
cmds
.
each
do
|
cmd
|
system
({
'RAILS_ENV'
=>
'test'
,
'force'
=>
'yes'
},
*
cmd
)
raise
"
#{
cmd
}
failed!"
unless
$?
.
exitstatus
.
zero?
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment