From 2b0f618ef5360beb3c7965326cfb52f6cebfed8e Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Tue, 18 Aug 2020 22:29:45 +0100 Subject: Add r-cran-rcppeigen package to dockerfile This will speed up some of the compilation steps that are run when building the R virtual environment. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7bc02564..8ecc12a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,7 @@ RUN apt-get update && \ build-essential \ r-base \ r-base-dev \ + r-cran-rcppeigen \ latexmk \ texlive-latex-extra \ libopenmpi-dev \ @@ -20,7 +21,6 @@ RUN apt-get update && \ libfreetype6-dev \ libv8-dev - # Make sure python means python3 RUN apt-get install -y --no-install-recommends \ python3 \ -- cgit v1.2.3 From d91244a8eff6ddc8e3d7bebb014aeb9902cd99df Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Tue, 18 Aug 2020 22:29:56 +0100 Subject: Test building the virtualenvs on Travis --- .travis.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2a422bdc..58202c03 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,8 +8,14 @@ before_install: script: - mkdir -p /home/travis/build/alan-turing-institute/analysis/output - # create results (tables/figures) in the docker container - # note that we consider the build successful if there is no difference - # between the results in the repo and that generated by travis. An exception - # are the pdf files, which often differ due to different latex versions etc. + # create results (tables/figures) in the docker container note that we + # consider the build successful if there is no difference between the + # results in the repo and that generated by travis. An exception are the + # pdf files, which often differ due to different latex versions etc. - docker run -v /home/travis/build/alan-turing-institute/analysis/output:/TCPDBench/analysis/output alan-turing-institute/tcpdbench /bin/bash -c "make clean && make results && git checkout ./analysis/output/rankplots/*.pdf && git diff --exit-code" + # Test that the virtual environments can be created. The virtualenvs are + # needed to run the experiments using the same package versions as used in + # the paper. Since these may depend on external (third-party) packages, + # they can potentially be fragile to unexpected changes, so we want to + # make sure we're notified when they no longer build correctly. + - docker run alan-turing-institute/tcpdbench /bin/bash -c "make venvs" -- cgit v1.2.3