From 9e8d8ce8784ff6e3fbe4f9ac8d9aef66057d4dea Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Thu, 24 Oct 2019 15:52:40 +0200 Subject: [PATCH] Build and run test on CI --- .buildkite/pipeline.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index cf1cd5b9ff..9a4c4b17a9 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -3,9 +3,19 @@ # https://github.com/buildkite-plugins/docker-buildkite-plugin/releases # We propagate the environment to the container (sse https://github.com/buildkite-plugins/docker-buildkite-plugin#propagate-environment-optional-boolean) -# Build debug version of the RiotX application, from the develop branch and the features branches - steps: + - label: "Unit test" + agents: + # We use a medium sized instance instead of the normal small ones because + # gradle build is long + queue: "medium" + commands: + - "./gradlew clean test --stacktrace" + plugins: + - docker#v3.1.0: + image: "runmymind/docker-android-sdk" + propagate-environment: true + - label: "Assemble GPlay Debug version" agents: # We use a medium sized instance instead of the normal small ones because