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
3538ae85
Commit
3538ae85
authored
Nov 15, 2011
by
gitlabhq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
travis conf
parent
37346ead
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
.travis.yml
.travis.yml
+2
-0
db/fixtures/test/001_repo.rb
db/fixtures/test/001_repo.rb
+4
-0
No files found.
.travis.yml
View file @
3538ae85
...
@@ -3,6 +3,8 @@ branches:
...
@@ -3,6 +3,8 @@ branches:
-
'
master'
-
'
master'
rvm
:
1.9.2
rvm
:
1.9.2
before_script
:
before_script
:
-
"
bundle
exec
rake
db:create
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"
-
"
sh
-e
/etc/init.d/xvfb
start"
-
"
sh
-e
/etc/init.d/xvfb
start"
script
:
"
bundle
exec
rake
travis"
script
:
"
bundle
exec
rake
travis"
db/fixtures/test/001_repo.rb
View file @
3538ae85
# create tmp dir if not exist
tmp_dir
=
File
.
join
(
Rails
.
root
,
"tmp"
)
Dir
.
mkdir
(
tmp_dir
)
unless
File
.
exists?
(
tmp_dir
)
# Create dir for test repo
# Create dir for test repo
repo_dir
=
File
.
join
(
Rails
.
root
,
"tmp"
,
"tests"
)
repo_dir
=
File
.
join
(
Rails
.
root
,
"tmp"
,
"tests"
)
Dir
.
mkdir
(
repo_dir
)
unless
File
.
exists?
(
repo_dir
)
Dir
.
mkdir
(
repo_dir
)
unless
File
.
exists?
(
repo_dir
)
...
...
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