From f641afe2b203e275c655f386c67663e4aedb6b64 Mon Sep 17 00:00:00 2001 From: Ben Bader Date: Thu, 9 Mar 2017 14:57:40 -0800 Subject: [PATCH] Speed up Travis builds, hopefully (#136) --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7d12544..7e075e6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,15 +6,16 @@ sudo: false install: echo './gradlew check will install dependencies' script: - - ./gradlew check - - ./gradlew codeCoverageReport + - ./gradlew check codeCoverageReport after_success: - .ci/deploy-snapshots.sh - THRIFTY_SONATYPE_USERNAME= THRIFTY_SONATYPE_PASSWORD= bash <(curl -s https://codecov.io/bash) before_cache: - - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock + - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock + - rm -rf $HOME/.gradle/caches/*/plugin-resolution/ + - rm -rf $HOME/.gradle/caches/*/fileHashes/ cache: directories: