-
Notifications
You must be signed in to change notification settings - Fork 471
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(package): update semantic-release to version 12.2.2 (#836)
- Loading branch information
Showing
2 changed files
with
40 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,41 @@ | ||
sudo: required | ||
language: node_js | ||
notifications: | ||
email: false | ||
node_js: | ||
- 4 | ||
before_script: | ||
- npm prune | ||
- bin/quick-start-test.sh | ||
# install pandoc cli tool for .rst to .md converting | ||
- wget https://github.com/jgm/pandoc/releases/download/1.16.0.2/pandoc-1.16.0.2-1-amd64.deb | ||
- sudo dpkg -i pandoc-1.16.0.2-1-amd64.deb | ||
# convert .rst to .md (textlint package needs .md file format to work) | ||
- find ./ -iname "*.rst" -type f -exec sh -c 'pandoc "${0}" -o "${0%.md}.md"' {} \; | ||
# run spelling/grammar/style/deadlink checks using textlint see '.textlintrc' configuration | ||
# file for details. https://github.com/textlint/textlint | ||
- npm run textlint | ||
after_success: | ||
- npm run semantic-release | ||
- npm run coverage | ||
|
||
# Trigger a push build on master and greenkeeper branches + PRs build on every branches | ||
# Avoid double build on PRs (See https://github.com/travis-ci/travis-ci/issues/1147) | ||
branches: | ||
except: | ||
- /^v\d+\.\d+\.\d+$/ | ||
only: | ||
- master | ||
- /^greenkeeper.*$/ | ||
|
||
jobs: | ||
include: | ||
- stage: test | ||
node_js: 4 | ||
script: | ||
- npm run test | ||
- npm run coverage | ||
- node_js: 4 | ||
script: bin/quick-start-test.sh | ||
- stage: docs | ||
node_js: lts/* | ||
script: | ||
# install pandoc cli tool for .rst to .md converting | ||
- wget https://github.com/jgm/pandoc/releases/download/1.16.0.2/pandoc-1.16.0.2-1-amd64.deb | ||
- sudo dpkg -i pandoc-1.16.0.2-1-amd64.deb | ||
# convert .rst to .md (textlint package needs .md file format to work) | ||
- find ./ -iname "*.rst" -type f -exec sh -c 'pandoc "${0}" -o "${0%.md}.md"' {} \; | ||
# run spelling/grammar/style/deadlink checks using textlint see '.textlintrc' configuration | ||
# file for details. https://github.com/textlint/textlint | ||
- npm run textlint | ||
- stage: release | ||
node_js: lts/* | ||
script: | ||
- npm run semantic-release | ||
|
||
stages: | ||
- test | ||
- name: docs | ||
if: branch = master | ||
- name: release | ||
if: branch = master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters