Changed .travis.yml script to attempt gradle build.

This commit is contained in:
Michael Muller 2018-10-31 14:57:43 -04:00
parent b381b02add
commit 0950333434

View file

@ -1,14 +1,15 @@
sudo: required language: java
dist: trusty install: true
addons: jdk:
apt: - openjdk8
packages:
- wget
before_install: before_cache:
- wget https://github.com/bazelbuild/bazel/releases/download/0.17.1/bazel-0.17.1-installer-linux-x86_64.sh - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- chmod 755 bazel-0.17.1-installer-linux-x86_64.sh - rm -f $HOME/.gradle/caches/*/plugin-resolution/
- sudo ./bazel-0.17.1-installer-linux-x86_64.sh
script: cache:
- bazel test --test_output=errors ... |& cat directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
script: cd gradle && gradle wrapper && ./gradlew