CI in progress with releases.
This commit is contained in:
parent
3feac0c4e3
commit
657bb7f180
2 changed files with 26 additions and 4 deletions
|
@ -6,3 +6,4 @@ tmp
|
||||||
.env
|
.env
|
||||||
.coveralls.yml
|
.coveralls.yml
|
||||||
coverage
|
coverage
|
||||||
|
{YOUR_LIB}-*.tgz
|
||||||
|
|
27
.travis.yml
27
.travis.yml
|
@ -8,14 +8,16 @@ notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- npm install --global nyc mocha typescript rimraf
|
- npm install --global nyc mocha typescript rimraf shx
|
||||||
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- npm install
|
- npm install
|
||||||
|
|
||||||
script:
|
before_script:
|
||||||
- npm run clean
|
|
||||||
- npm run build
|
- npm run build
|
||||||
|
|
||||||
|
script:
|
||||||
- npm run build-docs
|
- npm run build-docs
|
||||||
- npm run tslint
|
- npm run tslint
|
||||||
- npm run coveralls
|
- npm run coveralls
|
||||||
|
@ -23,3 +25,22 @@ script:
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
after_success:
|
||||||
|
- npm run typedoc
|
||||||
|
- npm pack
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
- provider: releases
|
||||||
|
api_key: $GITHUB_TOKEN
|
||||||
|
file_glob: true
|
||||||
|
file: "{YOURLIB}-*.tgz"
|
||||||
|
skip_cleanup: true
|
||||||
|
on:
|
||||||
|
tags: true
|
||||||
|
- provider: npm
|
||||||
|
skip_cleanup: true
|
||||||
|
email: "operations@pragmatismo.io"
|
||||||
|
api_key: $NPM_TOKEN
|
||||||
|
on:
|
||||||
|
tags: true
|
Loading…
Add table
Reference in a new issue