From cf11c3f64e7022758518fd639a4021f8c7697c38 Mon Sep 17 00:00:00 2001 From: esaunders Date: Mon, 31 Aug 2020 14:28:55 -0400 Subject: [PATCH] Apparently Travis doesn't even like the config file produced by the online validator...wtf? --- .travis.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 03773c206f..1852c91fcc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -63,8 +63,19 @@ "pushd sleuthkit/sleuthkit && ./travis_install_libs.sh && popd" ], "before_script": [ - "if [ $TRAVIS_OS_NAME = linux ]; then wget -q -O - https://download.bell-sw.com/pki/GPG-KEY-bellsoft | sudo apt-key add - echo \"deb [arch=amd64] https://apt.bell-sw.com/ stable main\" | sudo tee /etc/apt/sources.list.d/bellsoft.list sudo apt-get update sudo apt-get install bellsoft-java11-full export JAVA_HOME=/usr/lib/jvm/bellsoft-java11-full-amd64 fi", - "if [ $TRAVIS_OS_NAME = osx ]; then brew uninstall java --force; brew cask uninstall java --force; brew tap bell-sw/liberica; brew cask install liberica-jdk11-full; fi", + "if [ $TRAVIS_OS_NAME = linux ]; then + wget -q -O - https://download.bell-sw.com/pki/GPG-KEY-bellsoft | sudo apt-key add -; + echo "deb [arch=amd64] https://apt.bell-sw.com/ stable main" | sudo tee /etc/apt/sources.list.d/bellsoft.list; + sudo apt-get update; + sudo apt-get install bellsoft-java11-full; + export JAVA_HOME=/usr/lib/jvm/bellsoft-java11-full-amd64; + fi", + "if [ $TRAVIS_OS_NAME = osx ]; then + brew uninstall java --force; + brew cask uninstall java --force; + brew tap bell-sw/liberica; + brew cask install liberica-jdk11-full; + fi", "java -version" ] } \ No newline at end of file