fix(config): CI fixed, now improving.

This commit is contained in:
Rodrigo Rodriguez (pragmatismo.io) 2018-11-18 18:46:23 -02:00
parent 240e90502f
commit 46daec8ca5
4 changed files with 31 additions and 36 deletions

19
.gitignore vendored
View file

@ -1,12 +1,13 @@
.coveralls.yml
.env
.npmrc
.nyc_output
coverage
dist
docs
guaribas.log
guaribas.sqlite
node_modules
packages/default.gbui/build
dist
guaribas.sqlite
guaribas.log
work
tmp
docs
.env
.coveralls.yml
coverage
.npmrc
work

View file

@ -1,9 +1,13 @@
node_modules
guaribas.sqlite
guaribas.log
work
tmp
.env
# This file must be a copy of .gitignore except for the WILLSHIP commented lines below.
.coveralls.yml
.env
.npmrc
.nyc_output
coverage
BotServer-*.tgz
# WILLSHIP dist
guaribas.log
guaribas.sqlite
node_modules
# WILLSHIP packages/default.gbui/build
tmp
work

View file

@ -16,8 +16,8 @@ before_script:
- npm run build
script:
#- npm run build-docs
#- npm run coveralls
- npm run build-docs
- npm run coveralls
branches:
only:
@ -28,7 +28,7 @@ branches:
after_success:
- npm run travis-deploy-once "npm run semantic-release"
#- npm run typedoc
- npm run typedoc
- npm pack
deploy:
@ -39,20 +39,4 @@ deploy:
github_token: $GITHUB_TOKEN
on:
tags: false
- provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file: "BotServer-*.tgz"
skip_cleanup: true
on:
tags: false
branch: master
- provider: npm
skip_cleanup: true
email: "operations@pragmatismo.io"
api_key: $NPM_TOKEN
on:
tags: false
branch: master

View file

@ -192,16 +192,22 @@
"verifyConditions": [
"@semantic-release/github"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog"
],
"prepare": [
"@semantic-release/npm",
{
"path": "@semantic-release/exec",
"cmd": "git status"
},
"@semantic-release/changelog",
{
"path": "@semantic-release/git",
"assets": [
"**"
"package.json"
]
}
],