summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-01-19 00:34:55 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2019-01-19 01:16:45 +0000
commit1ebf3a7decc29e40fdd2925db4d3039c238c8513 (patch)
treebf059d335c46fb13a508c40f95f37abca9d2c8a5 /ci
parent6b8a648f6f302e6165ebcbf2c38dc0fe258c567f (diff)
downloadlibgit2-1ebf3a7decc29e40fdd2925db4d3039c238c8513.tar.gz
ci: only run invasive tests during nightly runs
Diffstat (limited to 'ci')
-rw-r--r--ci/test.ps12
-rwxr-xr-xci/test.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/ci/test.ps1 b/ci/test.ps1
index 82ac0fa32..8bdd65bbf 100644
--- a/ci/test.ps1
+++ b/ci/test.ps1
@@ -51,7 +51,7 @@ Write-Host "####################################################################
run_test offline
-if (-not $Env:SKIP_INVASIVE_TESTS) {
+if ($Env:RUN_INVASIVE_TESTS) {
Write-Host ""
Write-Host "##############################################################################"
Write-Host "## Running (invasive) tests"
diff --git a/ci/test.sh b/ci/test.sh
index bc6c83ec4..ebf6479d5 100755
--- a/ci/test.sh
+++ b/ci/test.sh
@@ -136,7 +136,7 @@ if [ -z "$SKIP_OFFLINE_TESTS" ]; then
run_test offline
fi
-if [ -z "$SKIP_INVASIVE_TESTS" ]; then
+if [ -n "$RUN_INVASIVE_TESTS" ]; then
echo ""
echo "Running invasive tests"
echo ""