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
iv
gitlab-ce
Commits
cd3f55a3
Commit
cd3f55a3
authored
Jun 17, 2012
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix travis
parent
dbc7ef21
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
features/step_definitions/commits_steps.rb
features/step_definitions/commits_steps.rb
+11
-0
lib/tasks/travis.rake
lib/tasks/travis.rake
+1
-1
No files found.
features/step_definitions/commits_steps.rb
View file @
cd3f55a3
...
@@ -48,3 +48,14 @@ Given /^I see compared refs$/ do
...
@@ -48,3 +48,14 @@ Given /^I see compared refs$/ do
page
.
should
have_content
"Showing 73 changed files"
page
.
should
have_content
"Showing 73 changed files"
end
end
Given
/^I visit project branches page$/
do
pending
# express the regexp above with the code you wish you had
end
Given
/^I visit project commit page$/
do
pending
# express the regexp above with the code you wish you had
end
Given
/^I visit project tags page$/
do
pending
# express the regexp above with the code you wish you had
end
lib/tasks/travis.rake
View file @
cd3f55a3
task
:travis
do
task
:travis
do
[
"
rspec spec"
,
"rake cucumber
"
].
each
do
|
cmd
|
[
"
bundle exec rake cucumber"
,
"bundle exec rspec spec
"
].
each
do
|
cmd
|
puts
"Starting to run
#{
cmd
}
..."
puts
"Starting to run
#{
cmd
}
..."
system
(
"export DISPLAY=:99.0 && bundle exec
#{
cmd
}
"
)
system
(
"export DISPLAY=:99.0 && bundle exec
#{
cmd
}
"
)
raise
"
#{
cmd
}
failed!"
unless
$?
.
exitstatus
==
0
raise
"
#{
cmd
}
failed!"
unless
$?
.
exitstatus
==
0
...
...
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