aboutsummaryrefslogtreecommitdiff
path: root/test/helpers.lua
diff options
context:
space:
mode:
authorDundar Göc <gocdundar@gmail.com>2022-02-16 23:15:24 +0100
committerDundar Göc <gocdundar@gmail.com>2022-02-17 22:43:48 +0100
commitf3e6cc1a23b84ee5a8698614e78bce6d702a6d61 (patch)
treea7308f4b7ba2147f96278a24a0b009b86614baab /test/helpers.lua
parent8ab5ec4aaaeed27b1d8086d395171a52568378c2 (diff)
downloadrneovim-f3e6cc1a23b84ee5a8698614e78bce6d702a6d61.tar.gz
rneovim-f3e6cc1a23b84ee5a8698614e78bce6d702a6d61.tar.bz2
rneovim-f3e6cc1a23b84ee5a8698614e78bce6d702a6d61.zip
test: remove checks to see if current CI job is travis or appveyor
Diffstat (limited to 'test/helpers.lua')
-rw-r--r--test/helpers.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/helpers.lua b/test/helpers.lua
index 522714c8be..333e98d495 100644
--- a/test/helpers.lua
+++ b/test/helpers.lua
@@ -801,12 +801,10 @@ end
function module.isCI(name)
local any = (name == nil)
- assert(any or name == 'appveyor' or name == 'travis' or name == 'sourcehut' or name == 'github')
- local av = ((any or name == 'appveyor') and nil ~= os.getenv('APPVEYOR'))
- local tr = ((any or name == 'travis') and nil ~= os.getenv('TRAVIS'))
+ assert(any or name == 'sourcehut' or name == 'github')
local sh = ((any or name == 'sourcehut') and nil ~= os.getenv('SOURCEHUT'))
local gh = ((any or name == 'github') and nil ~= os.getenv('GITHUB_ACTIONS'))
- return tr or av or sh or gh
+ return sh or gh
end