From c3d3fe2af77ecef952d7a12104d51302a41ff6cc Mon Sep 17 00:00:00 2001 From: Daniel Ecer Date: Thu, 27 Aug 2020 20:16:43 +0100 Subject: [PATCH] enable docker build in travis ci build --- .travis.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index bcef49f28c..78f46d2beb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,11 +16,17 @@ env: #after_failure: #- ./gradlew clean check --debug --info --stacktrace -script: - - ./gradlew build --stacktrace --info --no-daemon +jobs: + include: + - stage: "Build" + script: + - ./gradlew build --stacktrace --info --no-daemon + after_success: + - ./gradlew codeCoverageReport coveralls --no-daemon + - stage: "Docker Build" + script: + - docker build . -after_success: -- ./gradlew codeCoverageReport coveralls --no-daemon before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock