diff --git a/.travis.yml b/.travis.yml index 2a19bc0ad..d27ee56b3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -90,7 +90,19 @@ matrix: - GROUP=ALL - os: osx osx_image: xcode8.2 - env: TARGET=dotnet + env: + - TARGET=dotnet + - GROUP=LEXER + - os: osx + osx_image: xcode8.2 + env: + - TARGET=dotnet + - GROUP=PARSER + - os: osx + osx_image: xcode8.2 + env: + - TARGET=dotnet + - GROUP=RECURSION - os: linux jdk: oraclejdk7 env: TARGET=java @@ -103,7 +115,21 @@ matrix: - os: linux jdk: oraclejdk8 dist: trusty - env: TARGET=dotnet + env: + - TARGET=dotnet + - GROUP=LEXER + - os: linux + jdk: oraclejdk8 + dist: trusty + env: + - TARGET=dotnet + - GROUP=PARSER + - os: linux + jdk: oraclejdk8 + dist: trusty + env: + - TARGET=dotnet + - GROUP=RECURSION - os: linux jdk: oraclejdk7 env: TARGET=python2 diff --git a/.travis/run-tests-dotnet.sh b/.travis/run-tests-dotnet.sh index 83fbe6d58..d49e30044 100755 --- a/.travis/run-tests-dotnet.sh +++ b/.travis/run-tests-dotnet.sh @@ -8,5 +8,12 @@ dotnet build -c Release ../runtime/CSharp/runtime/CSharp/Antlr4.Runtime/Antlr4.R # call test -mvn -q -Dparallel=classes -DthreadCount=4 -Dtest=csharp.* -Dantlr-csharp-netstandard=true test - +if [ $GROUP == "LEXER" ]; then + mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LexerTests" -Dparallel=classes -DthreadCount=4 -Dtest=csharp.* -Dantlr-csharp-netstandard=true test +elif [ $GROUP == "PARSER" ]; then + mvn -q -Dgroups="org.antlr.v4.test.runtime.category.ParserTests" -Dparallel=classes -DthreadCount=4 -Dtest=csharp.* -Dantlr-csharp-netstandard=true test +elif [ $GROUP == "RECURSION" ]; then + mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LeftRecursionTests" -Dparallel=classes -DthreadCount=4 -Dtest=csharp.* -Dantlr-csharp-netstandard=true test +else + mvn -q -Dparallel=classes -DthreadCount=4 -Dtest=csharp.* -Dantlr-csharp-netstandard=true test +fi