sky-uk / cqlmigrate

Cassandra schema migration library
BSD 3-Clause "New" or "Revised" License
47 stars 29 forks source link

Switch dist back to trusty #85

Closed adamdougal closed 4 years ago

adamdougal commented 4 years ago

The Travis CI builds have been failing with:

Expected feature release number in range of 9 to 14, but got: 8
The command "~/bin/install-jdk.sh --target "/home/travis/oraclejdk8" --workspace "/home/travis/.cache/install-jdk" --feature "8" --license "BCL"" failed and exited with 3 during .

This is because Travis CI changed the default dist to Xenial instead of Trusty https://blog.travis-ci.com/2019-04-15-xenial-default-build-environment.

Xenial does not have oraclejdk8 installed by default https://docs.travis-ci.com/user/reference/xenial/#jvm-clojure-groovy-java-scala-support but trusty does https://docs.travis-ci.com/user/reference/trusty/#jvm-clojure-groovy-java-scala-images.

adamdougal commented 4 years ago

Hmm looks like we already have the correct settings for that in the build.gradle lemme try it.

Also looking into why travis isn't reporting the status.

adamdougal commented 4 years ago

@sebbonnet Looks like Cassandra Unit isn't compatible with Java 11 https://github.com/jsevellec/cassandra-unit/issues/294.

Given this was just a quick fix for https://github.com/sky-uk/cqlmigrate/pull/84 would you be happy for be to change the dist to trusty and raise an issue to update at a later date?

sebbonnet commented 4 years ago

@adamdougal sure we can do the work later, but we should use openjdk11 rather than oraclejdk11 as it would require a commercial license