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
Léo-Paul Géneau
gitlab-ce
Commits
37346ead
Commit
37346ead
authored
Nov 15, 2011
by
gitlabhq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
travis
parent
ed5e19a5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
.travis.yml
.travis.yml
+8
-0
lib/tasks/travis.rake
lib/tasks/travis.rake
+7
-0
No files found.
.travis.yml
0 → 100644
View file @
37346ead
branches
:
only
:
-
'
master'
rvm
:
1.9.2
before_script
:
-
"
bundle
exec
rake
db:seed_fu
RAILS_ENV=test"
-
"
sh
-e
/etc/init.d/xvfb
start"
script
:
"
bundle
exec
rake
travis"
lib/tasks/travis.rake
0 → 100644
View file @
37346ead
task
:travis
do
[
"rspec spec"
].
each
do
|
cmd
|
puts
"Starting to run
#{
cmd
}
..."
system
(
"export DISPLAY=:99.0 && bundle exec
#{
cmd
}
"
)
raise
"
#{
cmd
}
failed!"
unless
$?
.
exitstatus
==
0
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