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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
8ceb9408
Commit
8ceb9408
authored
May 25, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Travis] try run both db
parent
ddc7568f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
1 deletion
+36
-1
.travis.yml
.travis.yml
+4
-1
config/database.yml.mysql
config/database.yml.mysql
+32
-0
No files found.
.travis.yml
View file @
8ceb9408
env
:
-
DB=mysql
-
DB=sqlite
before_install
:
sudo apt-get install libicu-dev -y
before_install
:
sudo apt-get install libicu-dev -y
branches
:
branches
:
only
:
only
:
...
@@ -5,7 +8,7 @@ branches:
...
@@ -5,7 +8,7 @@ branches:
rvm
:
rvm
:
-
1.9.2
-
1.9.2
before_script
:
before_script
:
-
"
cp
config/database.yml.
sqlite
config/database.yml"
-
"
cp
config/database.yml.
$DB
config/database.yml"
-
"
cp
config/gitlab.yml.example
config/gitlab.yml"
-
"
cp
config/gitlab.yml.example
config/gitlab.yml"
-
"
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"
...
...
config/database.yml.mysql
0 → 100644
View file @
8ceb9408
development:
adapter: mysql2
encoding: utf8
reconnect: false
database: gitlabhq_development
pool: 5
username: root
password: "secure password"
# socket: /tmp/mysql.sock
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
adapter: mysql2
encoding: utf8
reconnect: false
database: gitlabhq_test
pool: 5
username: root
password:
# socket: /tmp/mysql.sock
production:
adapter: mysql2
encoding: utf8
reconnect: false
database: gitlabhq_production
pool: 5
username: root
password: "secure password"
# socket: /tmp/mysql.sock
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