File tree Expand file tree Collapse file tree 4 files changed +297
-82
lines changed Expand file tree Collapse file tree 4 files changed +297
-82
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,24 @@ node_js:
44- node
55- 6
66- 4
7- before_install : yarn global add greenkeeper-lockfile@1
7+ before_install :
8+ - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.3.2
9+ - export PATH="$HOME/.yarn/bin:$PATH"
10+ - yarn global add greenkeeper-lockfile@1
811before_script : greenkeeper-lockfile-update
12+ script :
13+ - yarn commitlint --from="$TRAVIS_BRANCH" --to="$TRAVIS_COMMIT"
14+ - yarn commitlint --from=$TRAVIS_COMMIT
15+ - yarn test
916after_script : greenkeeper-lockfile-upload
17+ jobs :
18+ include :
19+ - stage : release
20+ node_js : 8
21+ os : linux
22+ after_success :
23+ 24+ - yarn semantic-release
1025cache :
1126 yarn : true
1227branches :
@@ -15,4 +30,6 @@ branches:
1530 - " /^greenkeeper/.*$/"
1631env :
1732 global :
18- secure : HN9UwIwZ0NIOgGaRHssKraQy5L4q0Jagtq4nsw75vUHmrc2tNYCpqREtIr7DlapurtVpXsOd5G8FiVMN6YWQA1WVuvoTD7AqJOXYF72gtSnIJ+mER6a4fFQe+2cPMu8l6/jYAFDzQ/ZJqd7QM8DZu6siYAmiJqmq1OmUSP3aohn/bCwyKcvD8MybNQvYvB9j1YzcypbE1LFUeV0oQX8rt9F+5PgY0vB/JE+X806sepgdv8LiVAfy2D/4IhHE55QtC1dfKsCl7Sn1nVriD16Z+OwsabQnp61wptOxaOsHM41eaXd1YlRyqYM1czNoFqgPMyo8uycSO/c7zl5cxWadZmvl21aZXHkb2HTH/XKP6BaZAa7DHwt1S2M8tP9YLDwhO24kSbxRA53Eiqnx+i3kgqsE+g2/XN7dMZpJ3MKgxyXB/dMC1G9qORGs1HdBgDIs4PXP4RMssXpntYJ+QW5JN/cByyA/K90V4K+QV9I4kVVBIXYvTyoyaTj/DwCXwC0zzU+F0BDcTHLtndFvJw6LND/WcYYKTJ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BQEyS9mShbISdtjqUN021H/zpdfqvD0UUAehu/PhztiD2x0d23GkcLASMeBUlnrf9Vy5JmRFmrFgw9i4BDg6i1pDooV6xXShV5VoMmtPmSAuCkDvrGI8ETFqUB9799mHmyd1qcjHNWN+xojKfDVE+5G0AnyHWzHwI7PixDhWdNREKhuk8un5ACG+r3EZKyLkfN43RLoid+OHIaZk8Gfo+12Z4b9Z2v5ixjOvD/K8CIC3EKxee4iYRE4QTfeHf5NMoC5lfzOFVfcb84w5I12RK8dHiLRtQa5x6R665w5wGtQQWpRhaXMb4qOcA4jD3WE/g+ugnYJU18uDS6Awlg3MKKhRo+l+T7neusAZTLlqlAp0Y4rvZ9BlJRjIyeIxgC9yTI4Gz+daiskVtNuNh9yAv38MA3q1HP3rfRU1T21SmLBNMRe9uaDARk5jPDjUDQEYfMoGVt78xn+atwz1YdKTG1oA=
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11{
22 "name" : " eslint-plugin-jest" ,
3- "version" : " 21.4.0 " ,
3+ "version" : " 0.0.0-development " ,
44 "description" : " Eslint rules for Jest" ,
55 "repository" : " jest-community/eslint-plugin-jest" ,
66 "license" : " MIT" ,
1717 "scripts" : {
1818 "lint" : " eslint . --ignore-pattern '!.eslintrc.js'" ,
1919 "test" : " jest" ,
20- "precommit" : " lint-staged"
20+ "precommit" : " lint-staged" ,
21+ "commitmsg" : " commitlint -e $GIT_PARAMS"
2122 },
2223 "devDependencies" : {
24+ "@commitlint/cli" : " ^5.2.0" ,
25+ "@commitlint/config-conventional" : " ^5.1.3" ,
2326 "eslint" : " ^4.10.0" ,
2427 "eslint-config-prettier" : " ^2.7.0" ,
2528 "eslint-plugin-prettier" : " ^2.3.1" ,
3841 },
3942 "jest" : {
4043 "testEnvironment" : " node"
44+ },
45+ "commitlint" : {
46+ "extends" : [" @commitlint/config-conventional" ]
4147 }
4248}
You can’t perform that action at this time.
0 commit comments