Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit 482b3234
authored
Oct 25, 2011
by
Sascha Depold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added correct database config for travis
1 parent
57f3f8fb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
12 deletions
.travis.yml
spec/config/config.js
test/config.js
.travis.yml
View file @
482b323
before_script
:
"
npm
install"
before_script
:
-
"
mysql
-e
'create
database
sequelize_test;'"
-
"
npm
install"
script
:
script
:
-
"
node_modules/.bin/jasmine-node
spec"
-
"
node_modules/.bin/jasmine-node
spec"
-
"
expresso
-s
test/**/*"
-
"
expresso
-s
test/**/*"
notifications
:
notifications
:
-
sascha@depold.com
-
sascha@depold.com
spec/config/config.js
View file @
482b323
module
.
exports
=
{
module
.
exports
=
{
username
:
'root'
,
username
:
null
,
password
:
null
,
password
:
null
,
database
:
'sequelize_test'
,
database
:
'sequelize_test'
,
host
:
'127.0.0.1'
,
host
:
'127.0.0.1'
,
rand
:
function
()
{
return
parseInt
(
Math
.
random
()
*
99999999999999
)
}
rand
:
function
()
{
return
parseInt
(
Math
.
random
()
*
99999999999999
)
}
}
}
test/config.js
View file @
482b323
module
.
exports
=
{
module
.
exports
=
{
username
:
'root'
username
:
null
,
,
password
:
null
password
:
null
,
,
database
:
'sequelize_test'
database
:
'sequelize_test'
,
,
host
:
'127.0.0.1'
host
:
'127.0.0.1'
,
,
rand
:
function
()
{
rand
:
function
()
{
return
parseInt
(
Math
.
random
()
*
99999999999999
)
return
parseInt
(
Math
.
random
()
*
99999999999999
)
}
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment