Travis: switch to a java build
-# Cache the Maven dependencies installed.
-cache:
- directories:
- - $HOME/.m2
-
-matrix:
- include:
- # - os: osx
- # install: ./.travis/install.sh
- # script: ./.travis/build.sh
- - os: linux
- dist: trusty
- addons:
- apt:
- packages:
- - oracle-java8-installer
+language: java
sudo: true
+
+jdk:
+ - oraclejdk8
+
install: ./.travis/install.sh
script:
- .travis/fix_java_format.sh && .travis/build.sh
+
+# Cache the Maven dependencies installed.
+cache:
+ directories:
+ - $HOME/.m2
+
# Delete the batfish jars, which change every build, from the cache.
# Also delete the locally-built jars, which are installed every build.
#
