trying to get python3 tests to run on travis-ci
This commit is contained in:
parent
f7a9a73d64
commit
6e9680f9cf
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue