Skip to content

Commit

Permalink
Merge pull request #48 from spirosikmd/upgrade-semantic-release
Browse files Browse the repository at this point in the history
ci(travis): semantic release
  • Loading branch information
spirosikmd committed Jan 21, 2018
2 parents dd96bae + 6abe899 commit 1db3510
Show file tree
Hide file tree
Showing 3 changed files with 1,395 additions and 395 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
@@ -1,4 +1,3 @@
sudo: false
language: node_js
cache: yarn
branches:
Expand All @@ -10,7 +9,7 @@ script:
- yarn lint
- yarn test
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.2.1
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.3.2
- export PATH=$HOME/.yarn/bin:$PATH
after_success:
- yarn semantic-release
- yarn travis-deploy-once "npm run semantic-release"
10 changes: 6 additions & 4 deletions package.json
Expand Up @@ -13,10 +13,11 @@
"build": "ng-packagr -p package.json",
"prepare": "yarn build",
"docs": "concurrently \"watchify docs/main.ts -p [ tsify ] -o docs/bundle.js\" \"lite-server\"",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"semantic-release": "semantic-release",
"commit": "git-cz",
"add-contributor": "all-contributors add",
"generate-contributors": "all-contributors generate"
"generate-contributors": "all-contributors generate",
"travis-deploy-once": "travis-deploy-once"
},
"keywords": [
"angular",
Expand Down Expand Up @@ -57,14 +58,15 @@
"ng-packagr": "^1.6.0",
"null-loader": "^0.1.1",
"rxjs": "^5.5.0",
"semantic-release": "^8.2.0",
"semantic-release": "^12.2.2",
"tsify": "^3.0.3",
"tslint": "^5.8.0",
"typescript": "^2.5.3",
"wallaby-webpack": "^0.0.42",
"watchify": "^3.9.0",
"webpack": "3.8.1",
"zone.js": "^0.8.18"
"zone.js": "^0.8.18",
"travis-deploy-once": "^4.3.2"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 1db3510

Please sign in to comment.