From b3b2f046fa2a52c8c0eb58f13e53170e99176969 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Wed, 28 Jul 2021 16:51:56 +0100 Subject: [PATCH] chore: only run example tests if code has changed No need to run example tests if we've just changed docs etc. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b3320469b2..982bde53d0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -291,7 +291,7 @@ jobs: script: # Travis lets scripts continue even if previous steps fail so need to use &&: https://github.com/travis-ci/travis-ci/issues/1066 - npm run configure-examples && - npm run test -- --scope=example* --concurrency=1 + npm run test -- $RUN_SINCE --scope=example* --concurrency=1 - stage: release-rc # only run on changes to master