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 aea376da
authored
Jan 15, 2021
by
papb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: drop travis and appveyor
1 parent
062dbee6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
119 deletions
.github/workflows/ci.yml
.travis.yml
appveyor.yml
.github/workflows/ci.yml
View file @
aea376d
...
...
@@ -147,3 +147,15 @@ jobs:
run
:
npm run test-unit
-
name
:
Integration Tests
run
:
npm run test-integration
release
:
name
:
Release
runs-on
:
ubuntu-latest
needs
:
[
lint
,
test-typings
,
test-sqlite
,
test-postgres
,
test-mysql-mariadb
,
test-mssql
]
if
:
github.event.push
steps
:
# - uses: actions/checkout@v2
# - uses: actions/setup-node@v1
# with:
# node-version: 12.x
# - run: npm run semantic-release
-
run
:
echo 'Auto-release would happen!'
.travis.yml
deleted
100644 → 0
View file @
062dbee
sudo
:
true
dist
:
trusty
language
:
node_js
branches
:
only
:
-
master
-
v6
except
:
-
/^v\d+\.\d+\.\d+$/
cache
:
npm
install
:
-
npm ci
-
|-
if [ "$DIALECT" = "postgres-native" ]; then npm install pg-native; fi
env
:
global
:
-
SEQ_DB=sequelize_test
-
SEQ_USER=sequelize_test
-
SEQ_PW=sequelize_test
-
SEQ_HOST=127.0.0.1
-
COVERAGE=true
before_script
:
# setup docker
-
if [ $MARIADB_VER ]; then export MARIADB_ENTRYPOINT=$TRAVIS_BUILD_DIR/test/config/mariadb; fi
-
if [ $MYSQL_VER ]; then export MYSQLDB_ENTRYPOINT=$TRAVIS_BUILD_DIR/test/config/mysql; fi
-
if [ $POSTGRES_VER ] || [ $MARIADB_VER ] || [ $MYSQL_VER ]; then docker-compose up -d ${POSTGRES_VER} ${MARIADB_VER} ${MYSQL_VER}; fi
-
wait_for() { docker run --net sequelize_default jwilder/dockerize -timeout 2m -wait "$1"; }
-
if [ $POSTGRES_VER ]; then wait_for tcp://${POSTGRES_VER}:5432; fi
-
if [ $MARIADB_VER ]; then wait_for tcp://${MARIADB_VER}:3306; fi
-
if [ $MYSQL_VER ]; then wait_for tcp://${MYSQL_VER}:3306; fi
script
:
-
|-
npm run cover && bash <(curl -s https://codecov.io/bash) -f coverage/lcov.info
jobs
:
include
:
-
stage
:
lint
node_js
:
'
10'
script
:
-
npm run lint
-
npm run lint-docs
-
npm run test-typings
-
stage
:
test
node_js
:
'
10'
env
:
DIALECT=sqlite
-
stage
:
test
node_js
:
'
10'
sudo
:
required
env
:
MARIADB_VER=mariadb-103 SEQ_MARIADB_PORT=8960 DIALECT=mariadb
-
stage
:
test
node_js
:
'
10'
sudo
:
required
env
:
MYSQL_VER=mysql-57 SEQ_MYSQL_PORT=8980 DIALECT=mysql
-
stage
:
test
node_js
:
'
10'
sudo
:
required
env
:
POSTGRES_VER=postgres-10 SEQ_PG_PORT=8991 DIALECT=postgres
-
stage
:
test
node_js
:
'
10'
sudo
:
required
env
:
POSTGRES_VER=postgres-10 SEQ_PG_PORT=8991 SEQ_PG_MINIFY_ALIASES=1 DIALECT=postgres
script
:
-
npm run test-integration
-
stage
:
test
node_js
:
'
10'
sudo
:
required
env
:
POSTGRES_VER=postgres-95 SEQ_PG_PORT=8990 DIALECT=postgres-native
-
stage
:
release
node_js
:
'
10'
script
:
-
npm run semantic-release
stages
:
-
lint
-
test
-
name
:
release
if
:
branch = v6 AND type = push AND fork = false
appveyor.yml
deleted
100644 → 0
View file @
062dbee
version
:
'
{build}'
platform
:
-
x64
services
:
-
mssql2017
shallow_clone
:
true
environment
:
matrix
:
-
{
NODE_VERSION
:
10
,
DIALECT
:
mssql
,
COVERAGE
:
true
}
install
:
-
ps
:
Install-Product node $env:NODE_VERSION x64
-
npm ci
-
npm i --save-dev codecov
build
:
off
before_test
:
-
ps
:
. .\scripts\appveyor-setup.ps1
test_script
:
-
'
IF
"%COVERAGE%"
==
"true"
(npm
run
cover)
ELSE
(npm
test)'
after_test
:
-
npx codecov
branches
:
only
:
-
master
-
v6
-
/^greenkeeper/.*$/
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