-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update travis test coverage: 2.7, 3.4, 3.7, pypy2.7 (#1614)
* Use xenial dist for travis builds * Use openjdk8 for all travis tests * Update python build matrix -- add 3.7, drop 3.5/3.6 (keep 2.7, 3.4, pypy2.7)
- Loading branch information
1 parent
994d283
commit c0add71
Showing
6 changed files
with
40 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
|
||
# borrowed from: https://github.com/mansenfranzen/pywrangler/blob/master/tests/travis_java_install.sh | ||
|
||
# Kafka requires Java 8 in order to work properly. However, TravisCI's Ubuntu | ||
# 16.04 ships with Java 11 and Java can't be set with `jdk` when python is | ||
# selected as language. Ubuntu 14.04 does not work due to missing python 3.7 | ||
# support on TravisCI which does have Java 8 as default. | ||
|
||
# show current JAVA_HOME and java version | ||
echo "Current JAVA_HOME: $JAVA_HOME" | ||
echo "Current java -version:" | ||
which java | ||
java -version | ||
|
||
echo "Updating JAVA_HOME" | ||
# change JAVA_HOME to Java 8 | ||
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64 | ||
|
||
echo "Updating PATH" | ||
export PATH=${PATH/\/usr\/local\/lib\/jvm\/openjdk11\/bin/$JAVA_HOME\/bin} | ||
|
||
echo "New java -version" | ||
which java | ||
java -version |