try setting JAVA_HOME

This commit is contained in:
Akinwale Ariwodola 2018-10-28 19:39:40 +01:00
parent ca75b44d3b
commit dd31a59524

View file

@ -3,11 +3,10 @@ dist: xenial
language: python language: python
python: python:
- '3.6' - '3.6'
jdk:
- oraclejdk8
install: install:
- deactivate - deactivate
- export PATH=/usr/bin:$PATH - export PATH=/usr/bin:$PATH
- export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
- sudo dpkg --add-architecture i386 - sudo dpkg --add-architecture i386
- sudo add-apt-repository ppa:jonathonf/python-3.6 -y - sudo add-apt-repository ppa:jonathonf/python-3.6 -y
- sudo apt-get -qq update - sudo apt-get -qq update