Skip to content

Commit

Permalink
chore(travis, package): migrate to semantic-release latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
toverux committed Jan 27, 2018
1 parent 100e745 commit d9c18d7
Show file tree
Hide file tree
Showing 3 changed files with 1,032 additions and 238 deletions.
10 changes: 4 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,21 @@ language: node_js

cache:
directories:
- node_modules
- ~/.npm

notifications:
email: false

node_js:
- '8'

before_install:
- npm i -g [email protected]
- 8
- 9

script:
- echo "Please test the package locally with 'npm test'. Or help me fix .travis.yml to get Angular tests run on Travis."

after_success:
- yarn packagr
- yarn semantic-release
- yarn travis-deploy-once "yarn semantic-release"

branches:
except:
Expand Down
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-sweetalert2-repository",
"version": "0.0.0",
"version": "0.0.0-unreleased-demo-project",
"description": "This is the package.json for ngx-sweetalert2's repository. See src/package.json for the library itself.",
"repository": "[email protected]:sweetalert2/ngx-sweetalert2.git",
"author": "Morgan Touverey Quilling <[email protected]>",
Expand All @@ -12,7 +12,8 @@
"test": "ng test",
"lint": "ng lint",
"packagr": "ng-packagr -p ng-package.json",
"semantic-release": "cd dist && semantic-release && cd .."
"semantic-release": "cd dist && semantic-release; cd ..",
"travis-deploy-once": "travis-deploy-once"
},
"private": true,
"dependencies": {
Expand Down Expand Up @@ -46,8 +47,9 @@
"karma-jasmine": "^1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"ng-packagr": "^1.5.0-rc.1",
"semantic-release": "^9.1.1",
"semantic-release": "^12.2.5",
"sweetalert2": "^7.4.0",
"travis-deploy-once": "^4.3.3",
"ts-node": "^4.1.0",
"tslint": "^5.7.0",
"typescript": "^2.6.2"
Expand Down
Loading

0 comments on commit d9c18d7

Please sign in to comment.