Skip to content

Commit

Permalink
ci(travis) try commitlint (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Feb 21, 2019
1 parent 13874d4 commit c6ac8aa
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 13 deletions.
34 changes: 21 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,26 @@
language: node_js
node_js: lts/*

jobs:
include:
- stage: release
node_js: lts/*
script:
- npm install @semantic-release/changelog@3 -D
- npm install @semantic-release/exec@3 -D
- npm install @semantic-release/git@7 -D
deploy:
provider: script
skip_cleanup: true
script:
- npx semantic-release@15
install:
- npm install @commitlint/config-conventional -D
- npm install @commitlint/travis-cli -D

script:
- commitlint-travis

# jobs:
# include:
# - stage: release
# node_js: lts/*
# script:
# - npm install @semantic-release/changelog@3 -D
# - npm install @semantic-release/exec@3 -D
# - npm install @semantic-release/git@7 -D
# deploy:
# provider: script
# skip_cleanup: true
# script:
# - npx semantic-release@15

# language: generic
#
Expand Down
3 changes: 3 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
};

0 comments on commit c6ac8aa

Please sign in to comment.