Skip to content

Commit

Permalink
Adding initial dockerfile to run tests on Travis #75
Browse files Browse the repository at this point in the history
  • Loading branch information
imbur committed Nov 12, 2017
1 parent 902f1a8 commit db42372
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions travis.dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit db42372

Please sign in to comment.