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

Commit 44f9084b by Sushant

chores: release config

1 parent 3fd065ca
Showing with 5 additions and 12 deletions
......@@ -43,7 +43,6 @@ 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:
- 'if [ "$INSTALL_MODULE" ]; then npm install ${INSTALL_MODULE}; fi'
- 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"
......@@ -64,16 +63,6 @@ jobs:
node_js: '4'
sudo: required
env: POSTGRES_VER=postgres-95 DIALECT=postgres-native COVERAGE=true
- stage: test
node_js: '8'
env: DIALECT=sqlite
- stage: test
node_js: '4'
sudo: required
env: POSTGRES_VER=postgres-95 DIALECT=postgres COVERAGE=true INSTALL_MODULE="pg@6.x pg-native@1.x"
- stage: test
node_js: '6'
env: DIALECT=sqlite
- stage: release
node_js: '8'
script:
......@@ -89,4 +78,4 @@ jobs:
stages:
- test
- name: release
if: branch = master AND type = push AND fork = false
if: branch = v4 AND type = push AND fork = false
......@@ -153,9 +153,13 @@
}
},
"release": {
"branch": "v4",
"verifyConditions": [
"@semantic-release/npm",
"@semantic-release/github"
]
},
"publishConfig": {
"tag": "latest"
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!