1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Disable test units when releasing version

This commit is contained in:
Laurent Cozic 2019-11-11 08:22:31 +00:00
parent a3279ab164
commit 211c02c7de

View File

@ -60,7 +60,10 @@ script:
npm install
cd ..
# Run test units
# Run test units.
# Only do it for pull requests because Travis randomly fails to run them
# and that would break the desktop release.
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
cd CliClient
npm install
./run_test.sh
@ -69,6 +72,7 @@ script:
exit $testResult
fi
cd ..
fi
# Run linter for pull requests only - this is so that
# bypassing eslint is allowed for urgent fixes.