From d1189e62c53acf64ab19dad8fe124a9c0c401cb7 Mon Sep 17 00:00:00 2001 From: Leonardo Galli Date: Mon, 12 Feb 2018 17:10:44 +0100 Subject: [PATCH] @cosmetic custom docker image for circleci --- .circleci/Dockerfile | 5 +++++ .circleci/config.yml | 4 +++- test.sh | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .circleci/Dockerfile diff --git a/.circleci/Dockerfile b/.circleci/Dockerfile new file mode 100644 index 000000000..2502463a8 --- /dev/null +++ b/.circleci/Dockerfile @@ -0,0 +1,5 @@ +FROM mono:4.8 + +RUN apt-get update && apt-get install -y git ssh tar gzip ca-certificates +RUN curl -sL https://deb.nodesource.com/setup_6.x | bash -E - +RUN apt-get install -y nodejs npm diff --git a/.circleci/config.yml b/.circleci/config.yml index 1f4a82bd7..c53e55f22 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: 2 jobs: build: docker: - - image: mono:4.8 + - image: gallileo/radarr-cci-primary:4.8 steps: - checkout - run: git submodule update --init --recursive @@ -13,3 +13,5 @@ jobs: - run: name: Testing command: ./test.sh Linux Unit + - store_test_results: + path: _tests/reports/ diff --git a/test.sh b/test.sh index 60ff7489c..196b0407b 100755 --- a/test.sh +++ b/test.sh @@ -11,7 +11,7 @@ fi NUNIT="$TEST_DIR/NUnit.ConsoleRunner.3.2.1/tools/nunit3-console.exe" NUNIT_COMMAND="$NUNIT" -NUNIT_PARAMS="--teamcity" +NUNIT_PARAMS="--result=$TEST_DIR/reports/results.xml" if [ "$PLATFORM" = "Windows" ]; then WHERE="$WHERE && cat != LINUX"