Fix Travis PR check
This commit is contained in:
parent
4d14f624b4
commit
c34a2174fa
1 changed files with 2 additions and 1 deletions
|
|
@ -69,7 +69,8 @@ when isMainModule:
|
|||
echo "Expected environment variable: " & key
|
||||
quit(1)
|
||||
|
||||
if getEnv("TRAVIS_PULL_REQUEST").len > 0:
|
||||
let pr = getEnv("TRAVIS_PULL_REQUEST")
|
||||
if pr.len > 0 and pr != "false":
|
||||
echo "This is a PR build. Skipping."
|
||||
quit(0)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue