Skip to content

Commit

Permalink
Correctly set JAVA_HOME in Travis
Browse files Browse the repository at this point in the history
Change-Id: Ia51003c84c7abec08574ceb1176425198403519d
  • Loading branch information
Pchelolo committed Jul 24, 2019
1 parent be64f6e commit 9fb2e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ env:
before_install:
- wget https://archive.apache.org/dist/cassandra/${CASSANDRA_VERSION}/apache-cassandra-${CASSANDRA_VERSION}-bin.tar.gz -P ../
- tar -xzf ../apache-cassandra-${CASSANDRA_VERSION}-bin.tar.gz -C ../
- export JAVA_HOME="/usr/lib/jvm/java-8-oracle" PATH=`pwd`/../apache-cassandra-${CASSANDRA_VERSION}/bin:$PATH
- export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64" PATH=`pwd`/../apache-cassandra-${CASSANDRA_VERSION}/bin:$PATH
- mkdir -p ../apache-cassandra-${CASSANDRA_VERSION}/logs
- echo "-Xms256m" >> ../apache-cassandra-${CASSANDRA_VERSION}/conf/jvm.options
- echo "-Xmx512m" >> ../apache-cassandra-${CASSANDRA_VERSION}/conf/jvm.options
Expand Down

0 comments on commit 9fb2e59

Please sign in to comment.