Skip to content

Commit d39ac26

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/make-github-pseudonymous-again/rejuvenate/blob/9b50c2a1d7e9ab7b4bc9c9ff88892e98c5f62244/src/transforms/travis:define-custom-script.js Please contact the author of the transform if you believe there was an error.
1 parent a20eea4 commit d39ac26

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
@@ -67,7 +67,8 @@
6767
"prepare": "npm run build",
6868
"prepublishOnly": "pinst --disable",
6969
"release": "np --message ':hatching_chick: release: Bumping to v%s.'",
70-
"test": "ava"
70+
"test": "ava",
71+
"travis": "npm run lint-config && npm run lint && npm run cover"
7172
},
7273
"dependencies": {},
7374
"devDependencies": {

0 commit comments

Comments
 (0)