Skip to content

Commit 0cc6590

Browse files
🤖 chore: Define custom script to run on travis.
These changes were automatically generated by a transform whose code can be found at: - https://github.com/aureooms/rejuvenate/blob/17001e676fa44361155baf8a8e44894908dd6c6d/src/transforms/travis:define-custom-script.js Please contact the author of the transform if you believe there was an error.
1 parent 56e618f commit 0cc6590

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ before_script:
1212
- ./cc-test-reporter before-build
1313

1414
script:
15-
- npm run cover
15+
- npm run travis
1616

1717
after_script:
1818
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@
5353
"prepare": "npm run build",
5454
"prepublishOnly": "pinst --disable",
5555
"release": "np --message ':hatching_chick: release: Bumping to v%s.'",
56-
"test": "ava"
56+
"test": "ava",
57+
"travis": "npm run lint-config && npm run lint && npm run cover"
5758
},
5859
"dependencies": {},
5960
"devDependencies": {

0 commit comments

Comments
 (0)