Skip to content

Commit dacb074

Browse files
committed
Disable secure_string and get_locales boilerplate test
Disable secure_string and get_locales boilerplate test because these slow down the build time by Travis CI significantly. secure_string's boilerplate test can easily take 6 minutes and even cause Travis CI to time out (>10 minutes combined).
1 parent 950ccc3 commit dacb074

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/main/java/com/laytonsmith/core/functions/Meta.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -929,6 +929,7 @@ public Version since() {
929929
}
930930

931931
@api
932+
@noboilerplate // A boilerplate test on this function is relatively expensive and not necessary.
932933
public static class get_locales extends AbstractFunction {
933934

934935
@Override

src/main/java/com/laytonsmith/core/functions/StringHandling.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import com.laytonsmith.PureUtilities.Version;
77
import com.laytonsmith.annotations.api;
88
import com.laytonsmith.annotations.core;
9+
import com.laytonsmith.annotations.noboilerplate;
910
import com.laytonsmith.annotations.noprofile;
1011
import com.laytonsmith.annotations.seealso;
1112
import com.laytonsmith.core.ArgumentValidation;
@@ -2295,6 +2296,7 @@ public ExampleScript[] examples() throws ConfigCompileException {
22952296

22962297
@api
22972298
@seealso(decrypt_secure_string.class)
2299+
@noboilerplate // A boilerplate test on this function is very hard on Travis CI, sometimes resulting in a timeout.
22982300
public static class secure_string extends AbstractFunction {
22992301

23002302
@Override

0 commit comments

Comments
 (0)