Permalink
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (36 sloc) 1014 Bytes
language: clojure
sudo: required
cache:
directories:
- $HOME/.m2
- /usr/local
install:
- sudo ./scripts/install-ci-deps /usr/local
- lumo --version
script:
- ./scripts/test-jvm
- ./scripts/test-lumo
branches:
only:
- master
# https://stackoverflow.com/questions/50712164/clojure-build-failed-on-travis-ci-with-openjdk-9-during-lein-deps
matrix:
include:
- jdk: openjdk8
- jdk: oraclejdk8
- jdk: openjdk9
before_install: &fix_certs
- rm "${JAVA_HOME}/lib/security/cacerts"
- ln -s /etc/ssl/certs/java/cacerts "${JAVA_HOME}/lib/security/cacerts"
- jdk: oraclejdk9
- jdk: openjdk10
before_install: *fix_certs
# oraclejdk10 is deprecated. See https://www.oracle.com/technetwork/java/javase/eol-135779.html for more details. Consider using openjdk10 instead.
# - jdk: oraclejdk10
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/14f0f7b4d5b20a70d032
on_success: change
on_failure: change
on_start: never