Skip to content

Commit

Permalink
chore(release): update semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharmath committed Jan 12, 2018
1 parent 9e5ec8d commit c42198c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
15 changes: 6 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
sudo: false
language: node_js
cache:
directories:
- ~/.npm
- node_modules
notifications:
email: false
node_js:
- 'stable'
before_install:
- npm i -g npm@^2.0.0
- stable
before_script:
- npm prune
- npm run benchmark | node_modules/.bin/commentator
- npm run coverage
- npm run lint
- npm run benchmark | node_modules/.bin/commentator
- npm run coverage
- npm run lint
after_success:
- npm run semantic-release
- npm run travis-deploy-once "npm run semantic-release"
branches:
except:
- /^v\d+\.\d+\.\d+$/
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@
"coverage": "nyc npm test && nyc report --reporter=text-lcov | coveralls",
"hydra": "node --trace-hydrogen --trace-phase=Z --trace-deopt --code-comments --hydrogen-track-positions --redirect-code-traces --redirect-code-traces-to=code.asm ./benchmarks/run",
"prepublish": "tsc -d && npm run build",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"test": "tsc && mocha",
"test:watch": "mocha --watch",
"build": "rollup -c ./config/rollup.config.js",
"lint": "git ls-files | grep '.ts$' | xargs tslint",
"lint:fix": "git ls-files | grep '.ts$' | xargs tslint --fix",
"prettier": "git ls-files | grep '.ts$' | xargs prettier --print-width 80 --write --single-quote --no-semi --no-bracket-spacing"
"prettier": "git ls-files | grep '.ts$' | xargs prettier --print-width 80 --write --single-quote --no-semi --no-bracket-spacing",
"travis-deploy-once": "travis-deploy-once",
"semantic-release": "semantic-release"
},
"author": "",
"license": "ISC",
Expand All @@ -43,7 +44,8 @@
"tslint": "^5.3.2",
"typescript": "^2.0.3",
"uglify": "^0.1.5",
"validate-commit-msg": "^2.8.2"
"validate-commit-msg": "^2.8.2",
"travis-deploy-once": "^4.3.0"
},
"repository": {
"type": "git",
Expand All @@ -56,5 +58,6 @@
"ghooks": {
"commit-msg": "validate-commit-msg"
}
}
},
"version": "0.0.0-development"
}
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3835,7 +3835,7 @@ traverse@~0.6.6:
version "0.6.6"
resolved "https://registry.yarnpkg.com/traverse/-/traverse-0.6.6.tgz#cbdf560fd7b9af632502fed40f918c157ea97137"

travis-deploy-once@^4.0.0:
travis-deploy-once@^4.0.0, travis-deploy-once@^4.3.0:
version "4.3.0"
resolved "https://registry.yarnpkg.com/travis-deploy-once/-/travis-deploy-once-4.3.0.tgz#f6615839b077b1c29867e2b96f1046963baa10c8"
dependencies:
Expand Down

0 comments on commit c42198c

Please sign in to comment.