Skip to content

Commit 54d2a79

Browse files
committed
Add Travis CI npm deploy step
1 parent 8715f19 commit 54d2a79

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.travis.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,22 @@ script:
2020
- npm run test-single
2121
- npm run protractor
2222
- npm run cover-combined
23-
- cat ./coverage/final/lcov.info | coveralls
23+
- cat ./coverage/final/lcov.info | coveralls
24+
25+
before_deploy:
26+
# package and navigate to dist
27+
- grunt build
28+
- cd dist/npm
29+
# update package version
30+
- npm version "$TRAVIS_TAG" --no-git-tag-version --save
31+
32+
deploy:
33+
provider: npm
34+
skip_cleanup: true
35+
email: igniteui@infragistics.com
36+
api_key:
37+
secure: DLdsRhCKRwkaLfiwojo5eEgXBskejGC0Ll9r/ijZj3y/F/pYQw63Xk2ZMA3MEVyR7BW2xtoNkcyEqy7l3pEsqZT9MxHOXBoSX6/120EfiHVRc6PKW2S643TujA6ajVL2WeF+2TW1Cg/0mGfU9y+j0sxCSrq8tyfN4ymv8IRrQ3U=
38+
on:
39+
tags: true
40+
repo: IgniteUI/igniteui-angularjs
41+
branch: master

0 commit comments

Comments
 (0)