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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
8189082e
Commit
8189082e
authored
Jun 16, 2012
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ci run
parent
6745a5e5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
.travis.yml
.travis.yml
+1
-2
lib/tasks/travis.rake
lib/tasks/travis.rake
+1
-1
No files found.
.travis.yml
View file @
8189082e
...
@@ -16,6 +16,5 @@ before_script:
...
@@ -16,6 +16,5 @@ before_script:
-
"
bundle
exec
rake
db:create
RAILS_ENV=test"
-
"
bundle
exec
rake
db:create
RAILS_ENV=test"
-
"
bundle
exec
rake
db:migrate
RAILS_ENV=test"
-
"
bundle
exec
rake
db:migrate
RAILS_ENV=test"
-
"
bundle
exec
rake
db:seed_fu
RAILS_ENV=test"
-
"
bundle
exec
rake
db:seed_fu
RAILS_ENV=test"
-
"
export
DISPLAY=:99.0"
-
"
sh
-e
/etc/init.d/xvfb
start"
-
"
sh
-e
/etc/init.d/xvfb
start"
script
:
"
bundle
exec
rake
gitlab:test
"
script
:
"
bundle
exec
rake
travis
"
lib/tasks/travis.rake
View file @
8189082e
task
:travis
do
task
:travis
do
[
"rspec spec"
].
each
do
|
cmd
|
[
"rspec spec"
,
"rake cuucmber"
].
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