forked from jasder/antlr
Disable Node tests in AppVeyor for now
This commit is contained in:
parent
76355cebbf
commit
654b92779c
|
@ -4,12 +4,7 @@ cache:
|
|||
- '%USERPROFILE%\.nuget\packages -> **\project.json'
|
||||
image: Visual Studio 2017
|
||||
build: off
|
||||
environment:
|
||||
nodejs_version: "14"
|
||||
install:
|
||||
- ps: Install-Product node $env:nodejs_version
|
||||
- node --version
|
||||
- npm --version
|
||||
- git submodule update --init --recursive
|
||||
- cinst -y php --params "/InstallDir:C:\tools\php"
|
||||
- cinst -y composer
|
||||
|
|
|
@ -52,6 +52,7 @@ public abstract class BaseRuntimeTest {
|
|||
"Python2", "Python3",
|
||||
"PHP",
|
||||
"Node",
|
||||
"Swift",
|
||||
"Dart"
|
||||
};
|
||||
|
||||
|
|
|
@ -165,9 +165,17 @@ public abstract class BaseRuntimeTestDescriptor implements RuntimeTestDescriptor
|
|||
|
||||
@Override
|
||||
public boolean ignore(String targetName) {
|
||||
return false;
|
||||
if("Node".equals(targetName) || "Swift".equals(targetName))
|
||||
return !isAppVeyorCI();
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
protected boolean isAppVeyorCI() {
|
||||
return "true".equals(System.getenv("APPVEYOR"));
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return getTarget()+":"+getTestName();
|
||||
|
|
Loading…
Reference in New Issue