You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2020/01/17 17:33:29 UTC

[tinkerpop] branch travis-fix updated: Set python3 explicitly to 3.7.1 in travis

This is an automated email from the ASF dual-hosted git repository.

spmallette pushed a commit to branch travis-fix
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/travis-fix by this push:
     new 7a8b541  Set python3 explicitly to 3.7.1 in travis
7a8b541 is described below

commit 7a8b54165a845310fb3588cc4ee97ad7f5c273f5
Author: stephen <sp...@gmail.com>
AuthorDate: Fri Jan 17 12:32:24 2020 -0500

    Set python3 explicitly to 3.7.1 in travis
    
    Seems like python3 version is stuck in some cases on xenial to 3.5.2 which has a bug causing failures in the build. CTR
---
 .travis.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 3102353..8abe593 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,6 +3,9 @@ os:
   - linux
 jdk:
   - openjdk8
+env:
+  global:
+    - PATH=/opt/python/3.7.1/bin:$PATH
 sudo: required
 dist: xenial
 services:
@@ -16,7 +19,7 @@ install:
   - bash .travis.install-maven.sh "3.3.9" "${HOME}/mvn-home"
   - export M2_HOME=${HOME}/mvn-home
   - export PATH=${HOME}/mvn-home/bin:${PATH}
-  # visual check that we have the correct maven version installed
+  # visual check that we have the correct maven/python versions installed
   - mvn -version
   - python2 --version
   - python3 --version