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 449a0d55
authored
Aug 13, 2017
by
Sushant
Committed by
GitHub
Aug 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: add stages docs/release stages (#8103)
1 parent
af8b3053
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
27 deletions
.travis.yml
.travis.yml
View file @
449a0d5
...
...
@@ -3,37 +3,42 @@ dist: trusty
language
:
node_js
node_js
:
-
"
4"
-
"
6"
branches
:
only
:
-
master
-
v3
-
/^greenkeeper/.*$/
except
:
-
/^v\d+\.\d+\.\d+$/
cache
:
directories
:
-
node_modules
env
:
global
:
# mysql info
-
SEQ_MYSQL_DB
:
sequelize_test
-
SEQ_MYSQL_USER
:
sequelize_test
-
SEQ_MYSQL_PW
:
sequelize_test
-
SEQ_MYSQL_HOST
:
127.0.0.1
-
SEQ_MYSQL_PORT
:
8999
-
SEQ_MYSQL_DB
=
sequelize_test
-
SEQ_MYSQL_USER
=
sequelize_test
-
SEQ_MYSQL_PW
=
sequelize_test
-
SEQ_MYSQL_HOST
=
127.0.0.1
-
SEQ_MYSQL_PORT
=
8999
# postgres info
-
SEQ_PG_DB
:
sequelize_test
-
SEQ_PG_USER
:
sequelize_test
-
SEQ_PG_PW
:
sequelize_test
-
SEQ_PG_HOST
:
127.0.0.1
-
SEQ_PG_PORT
:
8998
-
SEQ_PG_DB=sequelize_test
-
SEQ_PG_USER=sequelize_test
-
SEQ_PG_PW=sequelize_test
-
SEQ_PG_HOST=127.0.0.1
-
SEQ_PG_PORT=8998
matrix
:
-
DIALECT=sqlite COVERAGE=true
-
MYSQL_VER=mysql-57 DIALECT=mysql COVERAGE=true
-
POSTGRES_VER=postgres-95 DIALECT=postgres COVERAGE=true
-
POSTGRES_VER=postgres-95 DIALECT=postgres-native COVERAGE=true
node_js
:
-
"
4"
-
"
6"
before_script
:
-
"
if
[
$POSTGRES_VER
]
||
[
$MYSQL_VER
];
then
docker-compose
up
-d
${POSTGRES_VER}
${MYSQL_VER};
fi"
-
"
if
[
$MYSQL_VER
];
then
docker
run
--link
${MYSQL_VER}:db
-e
CHECK_PORT=3306
-e
CHECK_HOST=db
--net
sequelize_default
giorgos/takis;
fi"
...
...
@@ -43,21 +48,25 @@ script:
-
npm run lint
-
"
if
[
$COVERAGE
];
then
npm
run
cover
&&
bash
<(curl
-s
https://codecov.io/bash)
-f
coverage/lcov.info;
else
npm
run
test;
fi"
after_succes
s
:
-
npm run semantic-release
branches
:
exce
pt
:
-
/^v\d+\.\d+\.\d+$/
deploy
:
job
s
:
include
:
-
stage
:
docs
node_js
:
6
scri
pt
:
-
npm run lint
-
npm run docs
deploy
:
provider
:
surge
project
:
./esdoc/
domain
:
docs.sequelizejs.com
skip_cleanup
:
true
on
:
branch
:
master
node
:
6
before_deploy
:
-
npm run docs
-
stage
:
release
node_js
:
4
script
:
npm run lint
deploy
:
provider
:
script
script
:
TRAVIS_JOB_NUMBER=WORKAROUND.1 npm run semantic-release
on
:
branch
:
master
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