From 0cc659022b0c2fdfdf467a12f025556674f94ed3 Mon Sep 17 00:00:00 2001 From: a flying potato <80830782+a-flying-potato@users.noreply.github.com> Date: Thu, 18 Mar 2021 22:36:26 +0100 Subject: [PATCH] :robot: 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. --- .travis.yml | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a8f74d6..bc3f97c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ before_script: - ./cc-test-reporter before-build script: - - npm run cover + - npm run travis after_script: - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT diff --git a/package.json b/package.json index 5d52dee..b07c92d 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,8 @@ "prepare": "npm run build", "prepublishOnly": "pinst --disable", "release": "np --message ':hatching_chick: release: Bumping to v%s.'", - "test": "ava" + "test": "ava", + "travis": "npm run lint-config && npm run lint && npm run cover" }, "dependencies": {}, "devDependencies": {