不要怂,就是干,撸起袖子干!

Commit 74197379 by Sushant Committed by GitHub

chores(CI): use yarn (#9904)

1 parent ba0cb016
Showing with 14 additions and 38 deletions
sudo: false
sudo: true
dist: trusty
language: node_js
......@@ -10,24 +10,18 @@ branches:
except:
- /^v\d+\.\d+\.\d+$/
cache:
directories:
- $HOME/.npm
cache: yarn
install:
- npm install -g yarn
- yarn
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=8980
# 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=8990
- SEQ_DB=sequelize_test
- SEQ_USER=sequelize_test
- SEQ_PW=sequelize_test
- SEQ_HOST=127.0.0.1
before_script:
# mount ramdisk
......@@ -53,7 +47,7 @@ jobs:
- stage: test
node_js: '6'
sudo: required
env: MYSQL_VER=mysql-57 DIALECT=mysql COVERAGE=true
env: MYSQL_VER=mysql-57 SEQ_MYSQL_PORT=8980 DIALECT=mysql COVERAGE=true
- stage: test
node_js: '6'
sudo: required
......@@ -61,11 +55,11 @@ jobs:
- stage: test
node_js: '6'
sudo: required
env: POSTGRES_VER=postgres-95 DIALECT=postgres COVERAGE=true
env: POSTGRES_VER=postgres-95 SEQ_PG_PORT=8990 DIALECT=postgres COVERAGE=true
- stage: test
node_js: '6'
sudo: required
env: POSTGRES_VER=postgres-95 DIALECT=postgres-native COVERAGE=true
env: POSTGRES_VER=postgres-95 SEQ_PG_PORT=8990 DIALECT=postgres-native COVERAGE=true
- stage: test
node_js: '8'
env: DIALECT=sqlite
......
comment:
layout: "header, changes"
behavior: default
......@@ -36,8 +36,6 @@
"wkx": "^0.4.5"
},
"devDependencies": {
"@semantic-release/github": "^5.0.0",
"@semantic-release/npm": "^5.0.2",
"chai": "^4.x",
"chai-as-promised": "^7.x",
"chai-datetime": "^1.x",
......@@ -65,7 +63,6 @@
"pg-native": "^3.0.0",
"pg-types": "^1.x",
"rimraf": "^2.x",
"semantic-release": "^15.8.0",
"sinon": "^6.0.0",
"sinon-chai": "^3.2.0",
"sqlite3": "^4.0.2",
......@@ -126,8 +123,7 @@
"sscce-mysql": "cross-env DIALECT=mysql npm run sscce",
"sscce-postgres": "cross-env DIALECT=postgres npm run sscce",
"sscce-sqlite": "cross-env DIALECT=sqlite npm run sscce",
"commitmsg": "validate-commit-msg",
"semantic-release": "semantic-release"
"commitmsg": "validate-commit-msg"
},
"engines": {
"node": ">=6.0.0"
......@@ -137,15 +133,5 @@
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"release": {
"branch": "master",
"verifyConditions": [
"@semantic-release/npm",
"@semantic-release/github"
]
},
"publishConfig": {
"tag": "next"
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!