Skip to content

Commit

Permalink
Chore: Update semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
sapegin committed Jan 21, 2018
1 parent 8cc4212 commit 86d3979
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ script:
if [[ "$TRAVIS_NODE_VERSION" == "4" ]]; then
NODE_ENV=test node --harmony-proxies $(npm bin)/jest --runInBand
else
if [[ "$TRAVIS_NODE_VERSION" == "8" ]]; then
if [[ "$TRAVIS_NODE_VERSION" == "9" ]]; then
npm run danger
npm run test:coverage -- --runInBand
else
Expand All @@ -36,7 +36,7 @@ script:
- npm run build:sections
# Check that examples really works: no JS errors on load
- |
if [[ "$TRAVIS_NODE_VERSION" == "8" ]]; then
if [[ "$TRAVIS_NODE_VERSION" == "9" ]]; then
npm run test:browser:pre
npm run test:browser
npm run test:browser:customised
Expand All @@ -46,9 +46,9 @@ after_success:
# Make release with semantic-release if needed
- npm install -g semantic-release
- npm install --no-save semantic-release-tamia
- semantic-release pre && npm publish && semantic-release post
- semantic-release --analyze-commits semantic-release-tamia/analyzeCommits --verify-release semantic-release-tamia/verifyRelease --generate-notes semantic-release-tamia/generateNotes
- |
if [[ "$TRAVIS_NODE_VERSION" == "8" ]]; then
if [[ "$TRAVIS_NODE_VERSION" == "9" ]]; then
# Upload coverage report to Codecov
bash <(curl -s https://codecov.io/bash)
# Update site
Expand Down
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,6 @@
"precommit": "lint-staged",
"format:md": "prettier --write '**/*.md'"
},
"release": {
"analyzeCommits": "semantic-release-tamia/analyzeCommits",
"generateNotes": "semantic-release-tamia/generateNotes",
"verifyRelease": "semantic-release-tamia/verifyRelease"
},
"jest": {
"setupFiles": [
"./test/raf-polyfill.js",
Expand Down

0 comments on commit 86d3979

Please sign in to comment.