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 06fe7ccf
authored
Apr 03, 2019
by
Sushant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: add lint stage
1 parent
9e0b176e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
.travis.yml
.travis.yml
View file @
06fe7cc
...
...
@@ -16,8 +16,6 @@ install:
-
npm install -g npm@latest
-
npm install
-
|-
if [ "$TSC" = true ]; then npm run test-typings; fi
- |-
if [ "$DIALECT" = "postgres-native" ]; then npm install pg-native; fi
env
:
...
...
@@ -37,15 +35,17 @@ before_script:
-
"
if
[
$POSTGRES_VER
];
then
docker
run
--link
${POSTGRES_VER}:db
-e
CHECK_PORT=5432
-e
CHECK_HOST=db
--net
sequelize_default
giorgos/takis;
fi"
script
:
-
npm run lint
-
npm run lint-docs
-
|-
if [ "$COVERAGE" = true ]; then npm run cover && bash <(curl -s https://codecov.io/bash) -f coverage/lcov.info; else npm run test; fi
- |-
if [ "$TSC" = true ]; then npm run test-typings; fi
jobs
:
include
:
-
stage
:
lint
node_js
:
'
6'
script
:
-
npm run lint
-
npm run lint-docs
-
npm run test-typings
-
stage
:
test
node_js
:
'
6'
env
:
DIALECT=sqlite TSC=true
...
...
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