don't use cache while running PR builds

This commit is contained in:
mark 2020-11-23 14:49:04 -06:00 committed by Joshua Nelson
parent 2fa114e07d
commit 5643607b1b
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ before_install:
install:
- source ~/.cargo/env || true
- cargo install mdbook --version '^0.4.3'
- cargo install mdbook-linkcheck --version '^0.7.1'
- cargo install mdbook-linkcheck --version '^0.7.2'
script:
- git checkout -b ci
- git rebase origin/master

View File

@ -15,7 +15,7 @@ elif [ "$CI" = "true" ] ; then # running in PR CI build
fi
CHANGED_FILES=$(git diff --name-only $TRAVIS_COMMIT_RANGE | tr '\n' ' ')
FLAGS="-f $CHANGED_FILES"
FLAGS="--no-cache -f $CHANGED_FILES"
echo "Checking files changed in $TRAVIS_COMMIT_RANGE: $CHANGED_FILES"
else # running locally