Skip to content

Commit 2469ba4

Browse files
committed
Fix travis javax/xml/bind/JAXBException.
Travis switched it's default jdk from 8 to 11 in the last year. LanguageTool 2.2 is not compatible with later jdk's without workarounds.
1 parent 58e4198 commit 2469ba4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ python:
99
- "3.6"
1010
- "nightly"
1111

12+
before_install:
13+
- sudo apt-get -y install openjdk-8-jdk
14+
- export PATH=/usr/lib/jvm/java-8-openjdk-amd64/jre/bin:$PATH
15+
- ls /usr/lib/jvm/java-8-openjdk-amd64/jre/bin
16+
- java --version
17+
1218
install:
1319
- if [ "$TRAVIS_PYTHON_VERSION" == "2.7" ]; then pip install 3to2; fi
1420
- python setup.py install

0 commit comments

Comments
 (0)