Speed-up travis build

This commit is contained in:
Alexey Andreev 2017-07-01 15:48:07 +03:00
parent d4903d460b
commit f86e498898
2 changed files with 5 additions and 1 deletions

View File

@ -35,7 +35,7 @@ install:
- popd
script:
- travis_wait 60 mvn -e test -P \!htmlUnit
- travis_wait 60 mvn -e test -P \!htmlUnit -Dteavm.junit.optimized=false -Dteavm.junit.js.runner=none
- BASE_PATH=`pwd`
- pushd tests/src/test/js
- export DISPLAY=:99.0

View File

@ -124,6 +124,10 @@ public class TeaVMTestRunner extends Runner implements Filterable {
case "htmlunit":
runStrategy = new HtmlUnitRunStrategy();
break;
case "":
case "none":
runStrategy = null;
break;
default:
throw new InitializationError("Unknown run strategy: " + runStrategyName);
}