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

You need to sign in or sign up before continuing.
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 dist: trusty
language: node_js language: node_js
...@@ -10,24 +10,18 @@ branches: ...@@ -10,24 +10,18 @@ branches:
except: except:
- /^v\d+\.\d+\.\d+$/ - /^v\d+\.\d+\.\d+$/
cache: cache: yarn
directories:
- $HOME/.npm install:
- npm install -g yarn
- yarn
env: env:
global: global:
# mysql info - SEQ_DB=sequelize_test
- SEQ_MYSQL_DB=sequelize_test - SEQ_USER=sequelize_test
- SEQ_MYSQL_USER=sequelize_test - SEQ_PW=sequelize_test
- SEQ_MYSQL_PW=sequelize_test - SEQ_HOST=127.0.0.1
- 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
before_script: before_script:
# mount ramdisk # mount ramdisk
...@@ -53,7 +47,7 @@ jobs: ...@@ -53,7 +47,7 @@ jobs:
- stage: test - stage: test
node_js: '6' node_js: '6'
sudo: required 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 - stage: test
node_js: '6' node_js: '6'
sudo: required sudo: required
...@@ -61,11 +55,11 @@ jobs: ...@@ -61,11 +55,11 @@ jobs:
- stage: test - stage: test
node_js: '6' node_js: '6'
sudo: required 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 - stage: test
node_js: '6' node_js: '6'
sudo: required 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 - stage: test
node_js: '8' node_js: '8'
env: DIALECT=sqlite env: DIALECT=sqlite
......
comment:
layout: "header, changes"
behavior: default
...@@ -36,8 +36,6 @@ ...@@ -36,8 +36,6 @@
"wkx": "^0.4.5" "wkx": "^0.4.5"
}, },
"devDependencies": { "devDependencies": {
"@semantic-release/github": "^5.0.0",
"@semantic-release/npm": "^5.0.2",
"chai": "^4.x", "chai": "^4.x",
"chai-as-promised": "^7.x", "chai-as-promised": "^7.x",
"chai-datetime": "^1.x", "chai-datetime": "^1.x",
...@@ -65,7 +63,6 @@ ...@@ -65,7 +63,6 @@
"pg-native": "^3.0.0", "pg-native": "^3.0.0",
"pg-types": "^1.x", "pg-types": "^1.x",
"rimraf": "^2.x", "rimraf": "^2.x",
"semantic-release": "^15.8.0",
"sinon": "^6.0.0", "sinon": "^6.0.0",
"sinon-chai": "^3.2.0", "sinon-chai": "^3.2.0",
"sqlite3": "^4.0.2", "sqlite3": "^4.0.2",
...@@ -126,8 +123,7 @@ ...@@ -126,8 +123,7 @@
"sscce-mysql": "cross-env DIALECT=mysql npm run sscce", "sscce-mysql": "cross-env DIALECT=mysql npm run sscce",
"sscce-postgres": "cross-env DIALECT=postgres npm run sscce", "sscce-postgres": "cross-env DIALECT=postgres npm run sscce",
"sscce-sqlite": "cross-env DIALECT=sqlite npm run sscce", "sscce-sqlite": "cross-env DIALECT=sqlite npm run sscce",
"commitmsg": "validate-commit-msg", "commitmsg": "validate-commit-msg"
"semantic-release": "semantic-release"
}, },
"engines": { "engines": {
"node": ">=6.0.0" "node": ">=6.0.0"
...@@ -137,15 +133,5 @@ ...@@ -137,15 +133,5 @@
"commitizen": { "commitizen": {
"path": "./node_modules/cz-conventional-changelog" "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!