From db42372a828736de5bc24f22e2a09e04cd9311b6 Mon Sep 17 00:00:00 2001 From: Marton Bur Date: Sun, 5 Nov 2017 01:04:29 -0500 Subject: [PATCH] Adding initial dockerfile to run tests on Travis #75 --- travis.dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 travis.dockerfile diff --git a/travis.dockerfile b/travis.dockerfile new file mode 100644 index 000000000..fc518173e --- /dev/null +++ b/travis.dockerfile @@ -0,0 +1,14 @@ +FROM gradle + +USER root + +RUN apt-get update + +RUN apt-get -qq update && apt-get install -y mysql-server sqlite3 r-base r-base-dev + +COPY trainbenchmark-reporting/install.R /install.R + +RUN Rscript /install.R + +CMD ["gradle", "initScript", "build", "-x", ":trainbenchmark-generator-sql:test", "-x", ":trainbenchmark-tool-mysql:test", "-x", ":trainbenchmark-tool-sqlite:test", "--stacktrace", "--continue"] +