trying to get python3 tests to run on travis-ci

This commit is contained in:
Eric Vergnaud 2015-09-18 02:09:52 +08:00
parent f7a9a73d64
commit 6e9680f9cf
2 changed files with 7 additions and 2 deletions

View File

@ -69,10 +69,11 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
<!--
<include>**/csharp/Test*.java</include>
<include>**/java/Test*.java</include>
<include>**/javascript/node/Test*.java</include>
<include>**/python2/Test*.java</include>
<include>**/python2/Test*.java</include> -->
<include>**/python3/Test*.java</include>
</includes>
</configuration>

View File

@ -41,7 +41,11 @@ public abstract class BasePython3Test extends BasePythonTest {
@Override
protected String getPythonExecutable() {
return "python3.4";
String os = System.getenv("TRAVIS");
if("true".equals(os))
return "python3";
else
return "python3.4";
}
@Override